Use basic logger (since systemd picks up stdout)

No need to overcomplicate things; systemd grabs all stdout output and
logs that.

Signed-off-by: Hugo Osvaldo Barrera <hugo@barrera.io>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Hugo Osvaldo Barrera 2017-06-01 13:10:40 -03:00 committed by Nicolas Sebrecht
parent 8bbfca9016
commit a242a07582
4 changed files with 5 additions and 5 deletions

View File

@ -4,8 +4,8 @@ Documentation=man:offlineimap(1)
[Service]
Type=oneshot
ExecStart=/usr/bin/offlineimap -o -u syslog
# Give 120 seconds for offlineimap to gracefully stop before hard killing it.
ExecStart=/usr/bin/offlineimap -o -u basic
# Give 120 seconds for offlineimap to gracefully stop before hard killing it:
TimeoutStopSec=120
Restart=on-failure
RestartSec=60

View File

@ -4,7 +4,7 @@ Documentation=man:offlineimap(1)
[Service]
Type=oneshot
ExecStart=/usr/bin/offlineimap -o -a %i -u syslog
ExecStart=/usr/bin/offlineimap -o -a %i -u basic
# Give 120 seconds for offlineimap to gracefully stop before hard killing it.
TimeoutStopSec=120
Restart=on-failure

View File

@ -3,7 +3,7 @@ Description=Offlineimap Service
Documentation=man:offlineimap(1)
[Service]
ExecStart=/usr/bin/offlineimap -u syslog
ExecStart=/usr/bin/offlineimap -u basic
Restart=on-failure
RestartSec=60

View File

@ -3,7 +3,7 @@ Description=Offlineimap Service for account %i
Documentation=man:offlineimap(1)
[Service]
ExecStart=/usr/bin/offlineimap -a %i -u syslog
ExecStart=/usr/bin/offlineimap -a %i -u basic
Restart=on-failure
RestartSec=60