aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--session.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/session.py b/session.py
index 71650d8..37dba55 100644
--- a/session.py
+++ b/session.py
@@ -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