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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Allow to use puma for packager again (#9180)
Oliver Günther3429161e1444
diff --git a/packaging/scripts/web b/packaging/scripts/webindex 0b865e4cd9c..5c098af24ed 100755--- a/packaging/scripts/web+++ b/packaging/scripts/web@@ -6,16 +6,8 @@ RAILS_ENV="${RAILS_ENV:="development"}"USE_PUMA="${USE_PUMA:="false"}"-if [ "$RAILS_ENV" = "production" ] && [ "$USE_PUMA" = "true" ]; then- # @TODO Add apache config to serve the assets. Until then we have Puma serve- # them which is slower. This is ok if an asset host is used (SaaS).- # But for self-hosted installations we may want to fix that.- # Passenger does include a config to have nginx serve the assets.- export OPENPROJECT_ENABLE__INTERNAL__ASSETS__SERVER=true-fi-if [ "$USE_PUMA" = "true" ]; then- bundle exec rails server puma -b $HOST -p $PORT+ bundle exec rails server -u puma -b $HOST -p $PORTelsebundle exec unicorn --config-file config/unicorn.rb --host $HOST --port $PORT --env $RAILS_ENVfi