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:
benutzer193 2017-03-28 08:21:05 +02:00 committed by Nicolas Sebrecht
parent 1462d0994a
commit 11c6995ac2
2 changed files with 2 additions and 10 deletions

View File

@ -2,12 +2,7 @@
Description=Offlineimap Service Description=Offlineimap Service
[Service] [Service]
Type=oneshot ExecStart=/usr/bin/offlineimap -u syslog
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] [Install]
WantedBy=mail.target WantedBy=mail.target

View File

@ -2,10 +2,7 @@
Description=Offlineimap Service for account %i Description=Offlineimap Service for account %i
[Service] [Service]
Type=oneshot ExecStart=/usr/bin/offlineimap -a %i -u syslog
ExecStart=/usr/bin/offlineimap -o -a %i -u syslog
#Restart=on-watchdog
#WatchdogSec=300
[Install] [Install]
WantedBy=mail.target WantedBy=mail.target