summaryrefslogtreecommitdiff
path: root/.config/systemd/user/vncserver@.service
diff options
context:
space:
mode:
Diffstat (limited to '.config/systemd/user/vncserver@.service')
-rw-r--r--.config/systemd/user/vncserver@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/systemd/user/vncserver@.service b/.config/systemd/user/vncserver@.service
index 2b5b453..2cabf4f 100644
--- a/.config/systemd/user/vncserver@.service
+++ b/.config/systemd/user/vncserver@.service
@@ -7,6 +7,7 @@ Type=simple
Restart=always
ExecStart=/usr/bin/env vncserver -fg %I
+ExecStop=/usr/bin/env vncserver -kill %I
ExecStopPost=/bin/rm /tmp/.X%I-lock /tmp/.X11-unix/X%I
[Install]