Skip to content

Commit

Permalink
Merge pull request #15605 from opf/fix/dangling-pid-file
Browse files Browse the repository at this point in the history
Fix dangling pid file in slim container
  • Loading branch information
machisuji committed May 20, 2024
2 parents ec26fc2 + c2627b2 commit 26d4ff0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/prod/web
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 26d4ff0

Please sign in to comment.