aboutsummaryrefslogtreecommitdiffstats
path: root/imapsync.service
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-07-30 01:40:05 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-07-30 01:40:05 +0200
commitd1d482c975df0840ed0169f559bdd7c5c8b56191 (patch)
tree202230003310bbd27b0501846a9a1c17d9373903 /imapsync.service
parent651a9a83e34849f51748f87da88d3d3c84470d1d (diff)
parent7a5ef2ffc002e7976fae34d08f296ace993211c8 (diff)
Merge branch 'master' into debian
Diffstat (limited to 'imapsync.service')
-rw-r--r--imapsync.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/imapsync.service b/imapsync.service
index af63425..725f23b 100644
--- a/imapsync.service
+++ b/imapsync.service
@@ -1,9 +1,12 @@
[Unit]
Description=IMAP-to-IMAP Syncronization service
-After=network.target
+Wants=network-online.target
+After=network-online.target
[Service]
ExecStart=/usr/bin/imapsync
+RestartSec=60s
+Restart=on-success
[Install]
WantedBy=default.target