diff --git a/scripts/bin/container-foreground-cmd b/scripts/bin/container-foreground-cmd index d6fbc32..f77eb43 100755 --- a/scripts/bin/container-foreground-cmd +++ b/scripts/bin/container-foreground-cmd @@ -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/