Remove dbus pidfile at startup

This commit is contained in:
Héctor Molinero Fernández
2019-12-15 20:59:50 +01:00
parent abb0eb51f1
commit a42b192cce

View File

@@ -85,5 +85,10 @@ if [ ! -f "${RDP_TLS_KEY_PATH:?}" ] || [ ! -f "${RDP_TLS_CERT_PATH:?}" ]; then
) >/dev/null
fi
# Remove dbus pidfile
if [ -e /run/dbus/pid ]; then
rm -f /run/dbus/pid
fi
# Start all services
exec runsvdir -P /etc/service/