watchdog: put s6 pkg on $PATH for s6-svstat
This commit is contained in:
parent
00076c7b81
commit
19ad6cd278
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
{
|
||||
liminix
|
||||
, lib
|
||||
, s6
|
||||
}:
|
||||
{ watched, headStart } :
|
||||
let
|
||||
|
@ -8,5 +9,5 @@ let
|
|||
in longrun {
|
||||
name = "watchdog";
|
||||
run =
|
||||
"HEADSTART=${toString headStart} ${./gaspode.sh} ${lib.concatStringsSep " " (builtins.map (s: s.name) watched)}";
|
||||
"PATH=${s6}/bin:$PATH HEADSTART=${toString headStart} ${./gaspode.sh} ${lib.concatStringsSep " " (builtins.map (s: s.name) watched)}";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue