From: Guilhem Moulin Date: Mon, 27 Jul 2015 22:12:44 +0000 (+0200) Subject: Update systemd service file. X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=fed8c5f21771b27c4b268e1820ed05a51012fc76;p=interimap.git Update systemd service file. --- 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