make systemd service kill offlineimap as expected
Most users expects the daemon to be instantly shut down when using systemd kill. Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
203c28f21f
commit
64b733c190
@ -4,6 +4,8 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user