@cryptotaxi247 / infra-1 / commits / 7e82e1ec

* Periodically do a ping6 to keep our 6to4 tunnel alive.

svn path=/configurations/trunk/tud/; revision=26221

Eelco Dolstra committed Mar 9, 2011 at 10:52 UTC 7e82e1ecd09e3b9736b0101599040e4955b90458
1 file changed +7
cartman.nix
+7
@@ -133,6 +133,12 @@ rec {
133 "15 0 * * * root (TZ=CET date; ${pkgs.rsync}/bin/rsync -razv --numeric-ids --delete /data/postgresql /data/webserver/tarballs unixhome.st.ewi.tudelft.nl::bfarm/) >> /var/log/backup.log 2>&1"
134 "00 03 * * * root ${pkgs.nixUnstable}/bin/nix-collect-garbage --max-atime $(date +\\%s -d '2 weeks ago') > /var/log/gc.log 2>&1"
135 "* * * * * root ${pkgs.python}/bin/python ${ZabbixApacheUpdater} -z 192.168.1.5 -c cartman"
136 +
137 + # Force the 6to4 tunnel to stay alive by periodically
138 + # pinging ipv6.google.com. This is necessary to remain
139 + # reachable from the outside. There probably is a nicer
140 + # way.
141 + "*/10 * * * * root ${pkgs.iputils}/sbin/ping6 -c 1 2a00:1450:8005::93"
142 ];
143 };
144
@@ -494,6 +500,7 @@ rec {
500 keep-in-foreground
501 expand-hosts
502 domain=buildfarm
503 + interface=eth0
504
505 server=130.161.158.4
506 server=130.161.33.17