aboutsummaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2018-07-16 22:58:48 +0200
committerGitHub <noreply@github.com>2018-07-16 22:58:48 +0200
commit1d0880f3cb39463483a4241197d8eb0d817dffc6 (patch)
treeffb843f74d1d1337a6e66d92b5deb21c0dd9c77e /conf
parentc3f8ddd274a40b164b5fceeab44c1c26cf053b04 (diff)
parentf9cc4e56230ce04f58d457bfc8f468d56e53cb36 (diff)
downloadihatemoney-mirror-1d0880f3cb39463483a4241197d8eb0d817dffc6.zip
ihatemoney-mirror-1d0880f3cb39463483a4241197d8eb0d817dffc6.tar.gz
ihatemoney-mirror-1d0880f3cb39463483a4241197d8eb0d817dffc6.tar.bz2
Merge branch 'master' into almet/fix-supervisord-template
Diffstat (limited to 'conf')
-rwxr-xr-xconf/confandrun.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/conf/confandrun.sh b/conf/confandrun.sh
index e76a8e8..e37a573 100755
--- a/conf/confandrun.sh
+++ b/conf/confandrun.sh
@@ -17,7 +17,8 @@ ADMIN_PASSWORD = "$ADMIN_PASSWORD"
ALLOW_PUBLIC_PROJECT_CREATION = $ALLOW_PUBLIC_PROJECT_CREATION
ACTIVATE_ADMIN_DASHBOARD = $ACTIVATE_ADMIN_DASHBOARD
EOF
-gunicorn ihatemoney.wsgi:application \
--b 0.0.0.0:8000 \
---log-syslog \
--w "$GUNICORN_NUM_WORKERS"
+# Start gunicorn without forking
+exec gunicorn ihatemoney.wsgi:application \
+ -b 0.0.0.0:8000 \
+ --log-syslog \
+ "$@"