Remove oneshot switch from systemd services

Signed-off-by: benutzer193 <registerbn@gmail.com>
This commit is contained in:
benutzer193 2017-03-28 08:21:05 +02:00
parent 83085e5c75
commit 1b4c4ac9d2
2 changed files with 2 additions and 10 deletions

View File

@ -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

View File

@ -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