diff options
author | stuebinm | 2022-04-07 21:43:31 +0200 |
---|---|---|
committer | stuebinm | 2022-04-07 21:43:31 +0200 |
commit | b7a97a0076d7ce261f67573115e14bbcd0d6d679 (patch) | |
tree | 1bab45e427b3587258a6b11560921c0f70cbbe6a /flora/services/urlwatcher.nix | |
parent | 6ff038b4d29ec761336c807f4a79831c99f29d67 (diff) |
flora: fix trainspotter
Diffstat (limited to '')
-rw-r--r-- | flora/services/urlwatcher.nix | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/flora/services/urlwatcher.nix b/flora/services/urlwatcher.nix index 56e043a..5b6d7bf 100644 --- a/flora/services/urlwatcher.nix +++ b/flora/services/urlwatcher.nix @@ -7,18 +7,11 @@ wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; serviceConfig.Type = "simple"; - path = [ pkgs.git ]; + path = with pkgs; [ curl libzip system-sendmail ]; script = '' ${pkgs.gauche}/bin/gosh ${pkgs.copyPathToStore ./urlwatcher.scm} ''; + startAt = "daily"; }; - systemd.timers.wikibot = { - wantedBy = [ "timers.target" ]; - timerConfig = { - Unit = "urlwatcher-ilztal.service"; - OnBootSec = "5h"; - OnActiveSec = "1d"; - }; - }; } |