systemd: log to syslog rather than stderr

This allows the journal to capture output with the appropriate level.

Signed-off-by: Ben Boeckel <mathstuf@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Ben Boeckel 2015-10-12 13:10:14 -04:00 committed by Nicolas Sebrecht
parent 626441544d
commit 7a2306be16
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ Description=Offlineimap Service
[Service]
Type=oneshot
ExecStart=/usr/bin/offlineimap -o
ExecStart=/usr/bin/offlineimap -o -s -u quiet
[Install]
WantedBy=mail.target

View File

@ -3,7 +3,7 @@ Description=Offlineimap Service for account %i
[Service]
Type=oneshot
ExecStart=/usr/bin/offlineimap -o -a %i
ExecStart=/usr/bin/offlineimap -o -a %i -s -u quiet
[Install]
WantedBy=mail.target