From c3c698a61531943344bc587b0bdb26f81216559d Mon Sep 17 00:00:00 2001 From: unbit Date: Sat, 15 Jun 2013 15:09:22 +0300 Subject: [PATCH] Update uwsgi.conf --- contrib/upstart/uwsgi.conf | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/upstart/uwsgi.conf b/contrib/upstart/uwsgi.conf index b6ff262e..1f225c1e 100644 --- a/contrib/upstart/uwsgi.conf +++ b/contrib/upstart/uwsgi.conf @@ -11,7 +11,6 @@ respawn env LOGTO=/tmp/uwsgi.log env BINPATH=/home/foo/uwsgi/uwsgi -# --no-orphans avoid workers without master -# --die-on-term could be a good idea -exec $BINPATH --no-orphans --socket :3033 --uid 1001 --gid 1001 --limit-as 256 -w simple_app --logto $LOGTO -M -p 4 +# --die-on-term is upstart friendly +exec $BINPATH --die-on-term --socket :3033 --uid 1001 --gid 1001 --limit-as 256 -w simple_app --logto $LOGTO -M -p 4