summaryrefslogtreecommitdiff
path: root/.config/systemd/user/vncserver@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-02-04 15:15:27 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-02-04 15:16:22 -0500
commitafd40978d6ac72c47085f0ae2265c3893596abc3 (patch)
treee10ffef780ede716c68c0a9edcc24035b3a7dc9a /.config/systemd/user/vncserver@.service
parent7fa8100ee556f0c94adfb91a240001ce86104c48 (diff)
systemd: Add the %I/DISPLAY to the descriptions
Diffstat (limited to '.config/systemd/user/vncserver@.service')
-rw-r--r--.config/systemd/user/vncserver@.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/systemd/user/vncserver@.service b/.config/systemd/user/vncserver@.service
index 8c1d818..2433977 100644
--- a/.config/systemd/user/vncserver@.service
+++ b/.config/systemd/user/vncserver@.service
@@ -1,11 +1,12 @@
[Unit]
-Description=VNC desktop
+Description=VNC virtual desktop %I
Conflicts=x0vncserver@%i.service
[Service]
Type=simple
-ExecStart=/bin/bash -l -c 'vncserver -fg %I'
Restart=always
+
+ExecStart=/bin/bash -l -c 'vncserver -fg %I'
ExecStopPost=/bin/rm /tmp/.X%I-lock /tmp/.X11-unix/X%I
[Install]