aboutsummaryrefslogtreecommitdiffstats
path: root/imapsync.service
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-08-20 19:11:36 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-08-20 19:19:11 +0200
commit3c6c1775ff1baaa7b3bf50aa1d9646d25e957706 (patch)
treec0975c490319f33e3216c579bf6682caeaa7385e /imapsync.service
parentb1985240f59a22b27824c9fdcb79998a1c7c0396 (diff)
Unconditionally restart the systemd service.
It's unfortunate in that the service keep restarting every n secs in case the remote server is down. Ideally systemd would offer a way to restart services with a non-constant (e.g., exponential) progression in case of failure.
Diffstat (limited to 'imapsync.service')
-rw-r--r--imapsync.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/imapsync.service b/imapsync.service
index 725f23b..02b4d13 100644
--- a/imapsync.service
+++ b/imapsync.service
@@ -6,7 +6,7 @@ After=network-online.target
[Service]
ExecStart=/usr/bin/imapsync
RestartSec=60s
-Restart=on-success
+Restart=always
[Install]
WantedBy=default.target