Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
beterraba/service: add info regarding the process itself
beterraba/beterraba.ha | 10 ++++++++--
diff --git a/beterraba/beterraba.ha b/beterraba/beterraba.ha index 806de3802b21fb38c884a636300eb01a0044573d..611242640bbe2c14579975170dbafbb83bc215c4 100644 --- a/beterraba/beterraba.ha +++ b/beterraba/beterraba.ha @@ -1,3 +1,5 @@ +use os::exec; + // TODO: Include things like enabled/disabled? export type status = enum { STOPPED, @@ -16,6 +18,10 @@ }; export type service = struct { name: str, - description: str, - status: status + desc: str, + status: status, + definition: servdef, + process: exec::process +}; + };