]> git.g-eek.se Git - interimap.git/commitdiff
Update systemd service file.
authorGuilhem Moulin <guilhem@fripost.org>
Mon, 27 Jul 2015 22:12:44 +0000 (00:12 +0200)
committerGuilhem Moulin <guilhem@fripost.org>
Mon, 27 Jul 2015 22:12:44 +0000 (00:12 +0200)
imapsync.service

index af63425f8e46b066eb1996261bd4bd29b20bd326..725f23b3ad0161ffc1d6e92124ba162f8716d28e 100644 (file)
@@ -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