summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2016-01-02 21:55:17 -0400
committerJoey Hess2016-01-02 21:55:17 -0400
commit320bffc603b8f4606d86602ba573778fafe5bcaf (patch)
tree34b34cc728192c510ab4afc8704f5b39925f77f4
parentf2ac9f1dae1c2ef7415e15b09509025c1d33ccb4 (diff)
cron job to restart aiccu on honeybee
-rw-r--r--config-joey.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/config-joey.hs b/config-joey.hs
index 57e0db93..9d3665ed 100644
--- a/config-joey.hs
+++ b/config-joey.hs
@@ -218,6 +218,9 @@ honeybee = standardSystem "honeybee.kitenet.net" Testing "armhf"
-- ipv6 used for remote access thru firewalls
& Apt.serviceInstalledRunning "aiccu"
& ipv6 "2001:4830:1600:187::2"
+ -- restart to deal with failure to connect, tunnel issues, etc
+ & Cron.job "aiccu restart daily" Daily (User "root") "/"
+ "service aiccu stop; service aiccu start"
-- In case compiler needs more than available ram
& Apt.serviceInstalledRunning "swapspace"