package/dbus: move PID file to /run/dbus-daemon.pid
This makes it more obvious which service the PID file belongs to, and thanks to the /var/run -> /run symlink fixes the check-package warning. Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
f51a475280
commit
3e007e27d0
@@ -1,8 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
DAEMON="dbus-daemon"
|
||||
# check-package lib_sysv.Variables
|
||||
PIDFILE="/run/messagebus.pid"
|
||||
PIDFILE="/var/run/$DAEMON.pid"
|
||||
|
||||
start() {
|
||||
printf 'Starting system %s: ' "$DAEMON"
|
||||
|
||||
@@ -33,7 +33,7 @@ DBUS_CONF_OPTS = \
|
||||
--disable-xml-docs \
|
||||
--disable-doxygen-docs \
|
||||
--with-system-socket=/run/dbus/system_bus_socket \
|
||||
--with-system-pid-file=/run/messagebus.pid \
|
||||
--with-system-pid-file=/run/dbus-daemon.pid \
|
||||
--with-session-socket-dir=/tmp \
|
||||
--runstatedir=/run
|
||||
|
||||
|
||||
Reference in New Issue
Block a user