summaryrefslogtreecommitdiff
path: root/.config/systemd/user/x0vncserver@.service
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:12:38 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-02-27 20:12:38 -0500
commit4e802e740bb2f7c6891271d3eaab39768360e261 (patch)
tree52cd247d9ffabab2f5cfb9f7821fbafbb27678f7 /.config/systemd/user/x0vncserver@.service
parentbd42aa1b31e2e41cac7ac2ffa6edc05e04354815 (diff)
parentd09fa8687ee01dcb4ef540deb106b8531f56b403 (diff)
Merge branch 'master' into build64-par/master
Diffstat (limited to '.config/systemd/user/x0vncserver@.service')
-rw-r--r--.config/systemd/user/x0vncserver@.service7
1 files changed, 4 insertions, 3 deletions
diff --git a/.config/systemd/user/x0vncserver@.service b/.config/systemd/user/x0vncserver@.service
index 3ee349f..1582f42 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
+ExecStart=/usr/bin/env x0vncserver display=%I PasswordFile=%h/.vnc/passwd