watchdog: put s6 pkg on $PATH for s6-svstat

main
Daniel Barlow 2024-04-17 13:01:10 +01:00
parent 00076c7b81
commit 19ad6cd278
1 changed files with 2 additions and 1 deletions

View File

@ -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)}";
}