1
0
Fork 0
mirror of https://github.com/yweber/lodel2.git synced 2026-06-07 03:20:48 +02:00
Add master = true to uwsgi.ini
This commit is contained in:
Yann 2016-09-30 14:02:26 +02:00
commit 14ec5a0b66
2 changed files with 3 additions and 2 deletions

View file

@ -286,7 +286,7 @@ def stop_instances(names):
continue
pid = pids[name]
try:
os.kill(pid, signal.SIGINT)
os.kill(pid, signal.SIGTERM)
except ProcessLookupError:
logging.warning("The instance %s seems to be in error, no process \
with pid %d found" % (name, pids[name]))