docker-offlineimap/contrib/systemd/offlineimap@.service
benutzer193 efd2548f67 systemd: remove unused watchdog functionality
Add restart on failure and increase timeout to kill service.

Signed-off-by: benutzer193 <registerbn@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2017-06-01 15:32:41 +02:00

12 lines
210 B
Desktop File

[Unit]
Description=Offlineimap Service for account %i
Documentation=man:offlineimap(1)
[Service]
ExecStart=/usr/bin/offlineimap -a %i -u syslog
Restart=on-failure
RestartSec=60
[Install]
WantedBy=mail.target