diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-02-27 20:18:18 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-02-27 20:21:17 -0500 |
commit | 7d9303fc9264af65a1ae9b0073a822e0a2fffe35 (patch) | |
tree | 7ac91858ce6dad3dfef53840df923f49f491f0a4 /.config/systemd/user/vncserver@.service | |
parent | e76068f0dacf0146fe58144abbca6f923743210b (diff) |
systemd: gracefully kill vncserver
Diffstat (limited to '.config/systemd/user/vncserver@.service')
-rw-r--r-- | .config/systemd/user/vncserver@.service | 1 |
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] |