summaryrefslogtreecommitdiff
path: root/.config/systemd/user/x0vncserver@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 18:31:31 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 18:31:31 -0500
commit10de71240a14b1fd5e7c9f788fbddb0ca6da664b (patch)
treefabef4e9d99683cab2da66c3a5d032352d2aff9e /.config/systemd/user/x0vncserver@.service
parent1dcd53b0d46b46eb9f252b5dfbb2300ba5bf4641 (diff)
X11 systemd stuff
Diffstat (limited to '.config/systemd/user/x0vncserver@.service')
-rw-r--r--.config/systemd/user/x0vncserver@.service5
1 files changed, 3 insertions, 2 deletions
diff --git a/.config/systemd/user/x0vncserver@.service b/.config/systemd/user/x0vncserver@.service
index 3ee349f..4a995f6 100644
--- a/.config/systemd/user/x0vncserver@.service
+++ b/.config/systemd/user/x0vncserver@.service
@@ -1,9 +1,10 @@
[Unit]
Description=VNC server for real X display %I
Conflicts=vncserver@%i.service
-StopWhenUnneeded=true
+After=X11@%i.target
+Requisite=X11@%i.target
[Service]
+
Type=simple
ExecStart=/usr/bin/x0vncserver display=%I PasswordFile=%h/.vnc/passwd
-Restart=always