From 3c6c1775ff1baaa7b3bf50aa1d9646d25e957706 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Thu, 20 Aug 2015 19:11:36 +0200 Subject: [PATCH] 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. --- imapsync.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2