Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix dangling pid file in slim container

Oliver Güntherc2627b2b9cde
diff --git a/docker/prod/web b/docker/prod/web
index 92d70da0170..f53e8bd937d 100755
--- a/docker/prod/web
+++ b/docker/prod/web
@@ -17,5 +17,8 @@ if [ "$MIGRATE" = "true" ]; then
bundle exec rake db:migrate
fi
+# Clean up any dangling PID file
+rm -f ${APP_PATH}/tmp/pids/*
+
# see `config/puma.rb` for configuration
exec bundle exec rails server -u puma -b $BIND -p $PORT