forked from DGNum/liminix
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
|
liminix
|
||||||
, lib
|
, lib
|
||||||
|
, s6
|
||||||
}:
|
}:
|
||||||
{ watched, headStart } :
|
{ watched, headStart } :
|
||||||
let
|
let
|
||||||
|
@ -8,5 +9,5 @@ let
|
||||||
in longrun {
|
in longrun {
|
||||||
name = "watchdog";
|
name = "watchdog";
|
||||||
run =
|
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