@cryptotaxi247 / infra / commits / bd411766

Fix NixOS 13.10 mirror service

Eelco Dolstra committed Nov 4, 2013 at 11:39 UTC bd41176678cea555422895748c6b8eb169acc914
1 file changed +4 -4
delft/lucifer.nix
+4 -4
@@ -135,15 +135,15 @@
135 serviceConfig.CPUShares = 100;
136 };
137
138 - systemd.services."mirror-nixos-13.10" =
139 - { description = "Mirror NixOS 13.10";
140 - wantedBy = [ "multi-user.target" ];
138 + systemd.services.mirror-nixos-stable =
139 + { description = "Mirror NixOS Stable";
140 + #wantedBy = [ "multi-user.target" ];
141 after = [ "networking.target" ];
142 path = [ pkgs.su ];
143 script =
144 ''
145 rm -rf /data/releases/nixos/13.10/.tmp-*
146 - exec su - hydra-mirror -c 'cd release/channels; while true; do ./mirror-nixos-branch.sh 13.10 release-13.10; sleep 1200; done'
146 + exec su - hydra-mirror -c 'cd release/channels; while true; do ./mirror-nixos-stable.sh; sleep 1200; done'
147 '';
148 serviceConfig.Restart = "always";
149 serviceConfig.CPUShares = 100;