2017-03-28 08:19:24 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Offlineimap Service (oneshot)
|
2017-06-01 11:12:26 +02:00
|
|
|
Documentation=man:offlineimap(1)
|
2017-03-28 08:19:24 +02:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/usr/bin/offlineimap -o -u syslog
|
|
|
|
# Give 12 seconds for offlineimap to gracefully stop before hard killing it.
|
|
|
|
TimeoutStopSec=12
|
|
|
|
#Restart=on-watchdog
|
|
|
|
#WatchdogSec=300
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=mail.target
|