liminix

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

watchdog.nix (250B)


      1 {
      2   liminix
      3 , lib
      4 }:
      5 { watched, headStart } :
      6 let
      7   inherit (liminix.services) longrun;
      8 in longrun {
      9   name = "watchdog";
     10   run =
     11     "HEADSTART=${toString headStart} ${./gaspode.sh} ${lib.concatStringsSep " " (builtins.map (s: s.name) watched)}";
     12 }