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:
Fiona Klute
2025-12-30 18:57:38 +01:00
committed by Thomas Petazzoni
parent f51a475280
commit 3e007e27d0
2 changed files with 2 additions and 3 deletions

View File

@@ -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"

View File

@@ -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