liminix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 19ad6cd278b67634c7ad9d15590a857e0072601f
parent 00076c7b818087a29b3f629c73542ebf3b98feec
Author: Daniel Barlow <dan@telent.net>
Date:   Wed, 17 Apr 2024 13:01:10 +0100

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

Diffstat:
Mmodules/watchdog/watchdog.nix | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/watchdog/watchdog.nix b/modules/watchdog/watchdog.nix @@ -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)}"; }