systemd: prevent duplicate logging messages in journal

By default, both stderr and syslog messages go to the systemd journal,
which results in duplicate messages being logged.

Thanks to Vinicius Costa Gomes for pointing out this problem.
This commit is contained in:
Marti Raudsepp 2012-10-25 21:37:30 +03:00 committed by Marcel Holtmann
parent 65a147eb17
commit d28d473459
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ After=syslog.target
Type=dbus
BusName=org.ofono.dundee
ExecStart=@prefix@/sbin/dundee -n
StandardError=null
[Install]
WantedBy=multi-user.target

View File

@ -6,6 +6,7 @@ After=syslog.target
Type=dbus
BusName=org.ofono
ExecStart=@prefix@/sbin/ofonod -n
StandardError=null
[Install]
WantedBy=multi-user.target