aboutsummaryrefslogtreecommitdiffstats
path: root/interimap.service
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-09-08 00:59:39 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-09-08 00:59:39 +0200
commit540c3f20afb9101a8b74936843f708bed98ef38e (patch)
tree4b2d9e07dc826f407d7a8c7a9ac429c96475a2c0 /interimap.service
parentcae1053b970057da675549ca42a71db62908ed69 (diff)
Add an option --watch to keep the connections open and wait for changes.
Diffstat (limited to 'interimap.service')
-rw-r--r--interimap.service6
1 files changed, 3 insertions, 3 deletions
diff --git a/interimap.service b/interimap.service
index 7f2d035..2dc1506 100644
--- a/interimap.service
+++ b/interimap.service
@@ -4,9 +4,9 @@ Wants=network-online.target
After=network-online.target
[Service]
-ExecStart=/usr/bin/interimap
-RestartSec=60s
-Restart=always
+ExecStart=/usr/bin/interimap --watch
+RestartSec=10min
+Restart=on-failure
[Install]
WantedBy=default.target