13 lines
250 B
Nix
13 lines
250 B
Nix
|
{
|
||
|
liminix
|
||
|
, lib
|
||
|
}:
|
||
|
{ watched, headStart } :
|
||
|
let
|
||
|
inherit (liminix.services) longrun;
|
||
|
in longrun {
|
||
|
name = "watchdog";
|
||
|
run =
|
||
|
"HEADSTART=${toString headStart} ${./gaspode.sh} ${lib.concatStringsSep " " (builtins.map (s: s.name) watched)}";
|
||
|
}
|