We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d0b0b0 commit 91f867fCopy full SHA for 91f867f
docker/scripts/init
@@ -2,9 +2,6 @@
2
set -e
3
4
cd /app
5
-if [ -z "${SINGLE_DYNO}" ]; then
6
- exec bundle exec puma
7
-fi
8
9
# Cleanup any leftover pid file
10
if [ -f /app/tmp/pids/server.pid ]; then
@@ -43,4 +40,9 @@ if [ -z "${DO_NOT_SEED}" ]; then
43
40
fi
44
41
45
42
# Start ActiveWorkflow
46
-exec bundle exec foreman start
+if [ -z "${SINGLE_DYNO}" ]; then
+ # Web only
+ exec bundle exec puma
+else
47
+ exec bundle exec foreman start
48
+fi
0 commit comments