From c1cb4ab7d7c888a8e2ba44a114d05eacd754df2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bauer?= Date: Thu, 27 Dec 2018 21:48:14 +0100 Subject: [PATCH] remove existing railsserver pid file on start --- containers/zammad/docker-entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/containers/zammad/docker-entrypoint.sh b/containers/zammad/docker-entrypoint.sh index 57ca390..2e29939 100644 --- a/containers/zammad/docker-entrypoint.sh +++ b/containers/zammad/docker-entrypoint.sh @@ -114,6 +114,8 @@ fi # zammad-railsserver if [ "$1" = 'zammad-railsserver' ]; then + test -f /opt/zammad/tmp/pids/server.pid && rm /opt/zammad/tmp/pids/server.pid + check_zammad_ready cd ${ZAMMAD_DIR}