Remove oneshot switch from systemd services
Signed-off-by: benutzer193 <registerbn@gmail.com> Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
1462d0994a
commit
11c6995ac2
@ -2,12 +2,7 @@
|
||||
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
|
||||
#Restart=on-watchdog
|
||||
#WatchdogSec=300
|
||||
ExecStart=/usr/bin/offlineimap -u syslog
|
||||
|
||||
[Install]
|
||||
WantedBy=mail.target
|
||||
|
@ -2,10 +2,7 @@
|
||||
Description=Offlineimap Service for account %i
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/offlineimap -o -a %i -u syslog
|
||||
#Restart=on-watchdog
|
||||
#WatchdogSec=300
|
||||
ExecStart=/usr/bin/offlineimap -a %i -u syslog
|
||||
|
||||
[Install]
|
||||
WantedBy=mail.target
|
||||
|
Loading…
Reference in New Issue
Block a user