Commit 6e9ef512 authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.5.6 bugfix: fix default uwsgi.upstart script.

it should include --die-on-term in uwsgi param.
parent a937e181
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.5.5"
(defproject python/lein-template "0.5.6"
  :description "lein template for a python project"
  :repositories [["snapshots"
                  {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots"
+1 −1
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ chdir /opt/{{name}}
setuid www-data
setgid www-data

exec bin/uwsgi --ini conf/uwsgi.ini
exec bin/uwsgi --die-on-term --ini conf/uwsgi.ini

kill timeout 10