summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Raudsepp <marti@juffo.org>2012-10-25 21:37:30 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-10-25 16:28:38 -0700
commitd28d4734594349e64fadbdde3f1d598aea544f70 (patch)
treec719dfbf39fa069034458b9a16b0b9eb338d04a9
parent65a147eb17260f7fa46cb4e1286a6f338cd831a4 (diff)
downloadofono-d28d4734594349e64fadbdde3f1d598aea544f70.tar.bz2
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.
-rw-r--r--dundee/dundee.service.in1
-rw-r--r--src/ofono.service.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/dundee/dundee.service.in b/dundee/dundee.service.in
index c57c6186..82c5ef13 100644
--- a/dundee/dundee.service.in
+++ b/dundee/dundee.service.in
@@ -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
diff --git a/src/ofono.service.in b/src/ofono.service.in
index f4531a8d..c24ac280 100644
--- a/src/ofono.service.in
+++ b/src/ofono.service.in
@@ -6,6 +6,7 @@ After=syslog.target
Type=dbus
BusName=org.ofono
ExecStart=@prefix@/sbin/ofonod -n
+StandardError=null
[Install]
WantedBy=multi-user.target