Start D-Bus without creating a PID file

This commit is contained in:
Héctor Molinero Fernández
2022-01-16 01:36:01 +01:00
parent a2a7ddc95f
commit 2bec9aa8cd

View File

@@ -1,8 +1,4 @@
#!/bin/sh
if [ -e /run/dbus/pid ]; then
rm -f /run/dbus/pid
fi
exec 2>&1
exec /usr/bin/chpst -u messagebus /usr/bin/dbus-daemon --system --nofork
exec /usr/bin/chpst -u messagebus /usr/bin/dbus-daemon --system --nofork --nopidfile