summaryrefslogtreecommitdiff
path: root/flora/services/urlwatcher.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flora/services/urlwatcher.nix')
-rw-r--r--flora/services/urlwatcher.nix11
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";
- };
- };
}