docker-offlineimap/contrib/systemd/offlineimap-oneshot.service

14 lines
282 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Offlineimap Service (oneshot)
[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