64b733c190
Most users expects the daemon to be instantly shut down when using systemd kill. Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
12 lines
234 B
Desktop File
12 lines
234 B
Desktop File
[Unit]
|
|
Description=Offlineimap Service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/offlineimap -o -u syslog
|
|
# Give 12 seconds for offlineimap to gracefully stop before hard killing it.
|
|
TimeoutStopSec=12
|
|
|
|
[Install]
|
|
WantedBy=mail.target
|