diff options
Diffstat (limited to 'imapsync.service')
-rw-r--r-- | imapsync.service | 7 |
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 |