diff options
author | Jonathan Weth <git@jonathanweth.de> | 2020-07-29 14:28:34 +0200 |
---|---|---|
committer | Jonathan Weth <git@jonathanweth.de> | 2020-07-29 14:28:34 +0200 |
commit | 7dc7a503fbf1bf80a4c6afdb34335a5c6fcad38c (patch) | |
tree | e0581e8c6e28f871fb22b1670d28e8f8bf492841 | |
parent | fe55e46ac5d20c13cc4a4a3467b1fca1fe7db288 (diff) | |
download | RWA.Support.SessionService-7dc7a503fbf1bf80a4c6afdb34335a5c6fcad38c.tar.gz RWA.Support.SessionService-7dc7a503fbf1bf80a4c6afdb34335a5c6fcad38c.tar.bz2 RWA.Support.SessionService-7dc7a503fbf1bf80a4c6afdb34335a5c6fcad38c.zip |
Use SIGINT instead of SIGTERM to kill sub processes
-rw-r--r-- | session.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -204,12 +204,12 @@ class Session: # Kill websockify if self.ws_pid in psutil.pids(): - os.kill(self.ws_pid, signal.SIGTERM) + os.kill(self.ws_pid, signal.SIGINT) logging.info("The websockify server has been terminated.") # Kill VNC if self.vnc_pid in psutil.pids(): - os.kill(self.vnc_pid, signal.SIGTERM) + os.kill(self.vnc_pid, signal.SIGINT) logging.info("The VNC server has been terminated.") # Delete PW file |