aboutsummaryrefslogtreecommitdiff
path: root/conf/confandrun.sh
diff options
context:
space:
mode:
authorAlexis Métaireau <alexis@vieuxsinge.com>2018-08-05 14:37:50 +0200
committerAlexis Métaireau <alexis@vieuxsinge.com>2018-08-05 14:37:50 +0200
commit633e3543b24fb241135770afe0ca8bcd8ceae072 (patch)
tree33d5183816de8365efb94645b526b5a052d9e28c /conf/confandrun.sh
parentc3b973b15e888263f6ca8538a72e39280a77ac3e (diff)
parent08bcf702b86d520b15cd8e9acee3b8df1fe9d07b (diff)
downloadihatemoney-mirror-633e3543b24fb241135770afe0ca8bcd8ceae072.zip
ihatemoney-mirror-633e3543b24fb241135770afe0ca8bcd8ceae072.tar.gz
ihatemoney-mirror-633e3543b24fb241135770afe0ca8bcd8ceae072.tar.bz2
Merge branch 'master' into almet/fix-pbkdf2-check
Diffstat (limited to 'conf/confandrun.sh')
-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 \
+ "$@"