remove existing railsserver pid file on start

This commit is contained in:
André Bauer 2018-12-27 21:48:14 +01:00
parent 1cf7e94f43
commit c1cb4ab7d7

View File

@ -114,6 +114,8 @@ fi
# zammad-railsserver # zammad-railsserver
if [ "$1" = 'zammad-railsserver' ]; then if [ "$1" = 'zammad-railsserver' ]; then
test -f /opt/zammad/tmp/pids/server.pid && rm /opt/zammad/tmp/pids/server.pid
check_zammad_ready check_zammad_ready
cd ${ZAMMAD_DIR} cd ${ZAMMAD_DIR}