Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
types: introduce a identifier to the service Initially I though about generating some uuid or compute the sha of the file, but let's keep it simple now and just use the unit's `Name`
beterraba/types.ha | 1 +
diff --git a/beterraba/types.ha b/beterraba/types.ha index df870627ea60f958fa8afd30611fa6ce615ddf53..7f57c69ccea5a7a1054c6615c5d4ef58e291f75d 100644 --- a/beterraba/types.ha +++ b/beterraba/types.ha @@ -23,6 +23,7 @@ // A service is the actual service to be executed. It contains a [[servdef]] // which it sources its info to be processed. A service contains a state and // more info regarding the process itself (like PID, exit status, etc) export type service = struct { + identifier: str, name: str, desc: str, status: status,