From a42b192cced07308ffc250f470fafe3419977362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Molinero=20Fern=C3=A1ndez?= Date: Sun, 15 Dec 2019 20:59:50 +0100 Subject: [PATCH] Remove dbus pidfile at startup --- scripts/bin/container-foreground-cmd | 5 +++++ 1 file changed, 5 insertions(+) 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/