|
|
@ -197,7 +197,7 @@ def cleanup_pid_file(signum, frame):
|
|
|
|
# Kill all threads
|
|
|
|
# Kill all threads
|
|
|
|
if PROCESS:
|
|
|
|
if PROCESS:
|
|
|
|
print("Killing all subprocesses")
|
|
|
|
print("Killing all subprocesses")
|
|
|
|
process.terminate()
|
|
|
|
PROCESS.terminate()
|
|
|
|
print("Killed all subprocesses")
|
|
|
|
print("Killed all subprocesses")
|
|
|
|
# Always cleanup PID File if it exists
|
|
|
|
# Always cleanup PID File if it exists
|
|
|
|
if PID_FILE.exists():
|
|
|
|
if PID_FILE.exists():
|
|
|
|