Commit e2f8f12c authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch 'uwsgi-exec' into 'master'

Start uwsgi with `exec` so it receives signals correctly

See merge request !1277
parents 743e65c5 a28c845e
...@@ -10,4 +10,4 @@ done ...@@ -10,4 +10,4 @@ done
cd /usr/src/app/website/ cd /usr/src/app/website/
>&2 echo "Running ./manage.py $@" >&2 echo "Running ./manage.py $@"
./manage.py $@ exec ./manage.py $@
...@@ -17,7 +17,7 @@ cd /usr/src/app/website/ ...@@ -17,7 +17,7 @@ cd /usr/src/app/website/
./manage.py compress --force ./manage.py compress --force
>&2 echo "Running site with uwsgi" >&2 echo "Running site with uwsgi"
uwsgi --chdir /usr/src/app/website \ exec uwsgi --chdir /usr/src/app/website \
--socket :8000 \ --socket :8000 \
--socket-timeout 1800 \ --socket-timeout 1800 \
--uid 33 \ --uid 33 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment