mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
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
|
#!/bin/sh
|
||||||
|
|
||||||
DAEMON="dbus-daemon"
|
DAEMON="dbus-daemon"
|
||||||
# check-package lib_sysv.Variables
|
PIDFILE="/var/run/$DAEMON.pid"
|
||||||
PIDFILE="/run/messagebus.pid"
|
|
||||||
|
|
||||||
start() {
|
start() {
|
||||||
printf 'Starting system %s: ' "$DAEMON"
|
printf 'Starting system %s: ' "$DAEMON"
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ DBUS_CONF_OPTS = \
|
|||||||
--disable-xml-docs \
|
--disable-xml-docs \
|
||||||
--disable-doxygen-docs \
|
--disable-doxygen-docs \
|
||||||
--with-system-socket=/run/dbus/system_bus_socket \
|
--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 \
|
--with-session-socket-dir=/tmp \
|
||||||
--runstatedir=/run
|
--runstatedir=/run
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user