Remove pidfile on service
This commit is contained in:
@@ -80,10 +80,5 @@ if [ ! -f "${RDP_TLS_KEY_PATH:?}" ] || [ ! -f "${RDP_TLS_CERT_PATH:?}" ]; then
|
|||||||
) >/dev/null
|
) >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove dbus pidfile
|
# Start runit
|
||||||
if [ -e /run/dbus/pid ]; then
|
|
||||||
rm -f /run/dbus/pid
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Start all services
|
|
||||||
exec tini -- runsvdir -P /etc/service/
|
exec tini -- runsvdir -P /etc/service/
|
||||||
|
|||||||
@@ -1,4 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -e /run/dbus/pid ]; then
|
||||||
|
rm -f /run/dbus/pid
|
||||||
|
fi
|
||||||
|
|
||||||
exec 2>&1
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user