Skip to content

Commit

Permalink
Revert "attempt to allow stopping puma without taking a pod down"
Browse files Browse the repository at this point in the history
This reverts commit 3d47407.
  • Loading branch information
cziaarm committed Jul 30, 2024
1 parent 3d47407 commit 12eb177
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/web
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,4 @@ if ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE'] && !ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE
%x{echo #{ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE']} | base64 --decode > prod-cred.p12}
end

#exec "bundle exec puma -v -b tcp://0.0.0.0:3000"
RAILS_START=`bundle exec puma -v -b tcp://0.0.0.0`
if [ "$?" -ne "0" ]; then
echo "### There was an issue starting rails/puma. We have kept this container alive for you to go and see what's up ###"
tail -f /dev/null
fi
exec "bundle exec puma -v -b tcp://0.0.0.0:3000"

0 comments on commit 12eb177

Please sign in to comment.