Skip to content

Commit 85add3d

Browse files
committed
turnoff puma-hang-on
1 parent 1736688 commit 85add3d

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

bin/web

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,4 @@ if ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE'] && !ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE
33
%x{echo #{ENV['GOOGLE_OAUTH_PRIVATE_KEY_VALUE']} | base64 --decode > prod-cred.p12}
44
end
55

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

0 commit comments

Comments
 (0)