]> code.ossystems Code Review - openembedded-core.git/commitdiff
dbus: update dbus-1.init to reflect new PID file
authorTom Benn <fridgecow@fb.com>
Thu, 17 Oct 2019 10:20:04 +0000 (10:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Oct 2019 15:26:14 +0000 (16:26 +0100)
The PID file referenced in dbus-1.init script was out of date and no longer existed. This meant that dbus could not be restarted via init.d without force removing the old PID file.

Signed-off-by: fridgecow <fridgecow@fb.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/dbus/dbus/dbus-1.init

index 42c86297c3d3870ae4ca28ee344c34ca3bc79ffc..90e167e5728929669dff6dce5015c134018fc11e 100644 (file)
@@ -21,8 +21,8 @@
 
 DAEMON=@bindir@/dbus-daemon
 NAME=dbus
-DAEMONUSER=messagebus           # must match /etc/dbus-1/system.conf
-PIDFILE=/var/run/messagebus.pid # must match /etc/dbus-1/system.conf
+DAEMONUSER=messagebus           # must match /usr/share/dbus-1/system.conf
+PIDFILE=/var/run/dbus/pid # must match /usr/share/dbus-1/system.conf
 UUIDDIR=/var/lib/dbus
 DESC="system message bus"
 EVENTDIR=/etc/dbus-1/event.d