docker-offlineimap/contrib/systemd/offlineimap-oneshot.service
Nicolas Sebrecht f3b9963a48 systemd: add documentation entry in configuration files
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2017-06-01 11:13:17 +02:00

15 lines
315 B
Desktop File

[Unit]
Description=Offlineimap Service (oneshot)
Documentation=man:offlineimap(1)
[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