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

This commit is contained in:
Daniel Barlow 2024-04-17 13:01:10 +01:00
parent 00076c7b81
commit 19ad6cd278

View file

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