This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

services flix: add transmission watcher

+14
+14
2configs/services/flix/default.nix
··· 21 21 rpc-host-whitelist-enabled = false; 22 22 }; 23 23 }; 24 + systemd.services.transmission-watcher = { 25 + wantedBy = [ "multi-user.target" ]; 26 + startAt = "*:0/5"; 27 + path = [ 28 + pkgs.curl 29 + pkgs.systemdMinimal 30 + ]; 31 + script = '' 32 + set -efu -o pipefail 33 + if ! curl -SsfL http://transmission.r; then 34 + systemctl restart transmission* 35 + fi 36 + ''; 37 + }; 24 38 25 39 security.acme.defaults.email = "spam@krebsco.de"; 26 40 security.acme.acceptTerms = true;