mirror of
https://github.com/yweber/lodel2.git
synced 2026-06-07 03:20:48 +02:00
parent
44f39356eb
commit
14ec5a0b66
2 changed files with 3 additions and 2 deletions
|
|
@ -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]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue