aboutsummaryrefslogtreecommitdiffstats
path: root/imapsync.service
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-07-28 00:24:17 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-07-28 00:24:17 +0200
commit9f8e0003e9f9797fe5161c6589557682ff7b8222 (patch)
treee96c16b3b28be11f6225d394b62271fc2fd2b183 /imapsync.service
parentb198cebd245942349d972a7958407b0d332da639 (diff)
parentfed8c5f21771b27c4b268e1820ed05a51012fc76 (diff)
Merge branch 'master' into debian
Diffstat (limited to 'imapsync.service')
-rw-r--r--imapsync.service7
1 files changed, 5 insertions, 2 deletions
diff --git a/imapsync.service b/imapsync.service
index e3a47e4..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=multi-user.target
+WantedBy=default.target