summaryrefslogtreecommitdiff
path: root/.config/systemd/user
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 01:48:45 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-29 01:48:45 -0500
commitc9a99ea8e015a34626a524a0e8be3c5378961894 (patch)
tree4549a694935d6cd82e46b1bef3cf10b83b6e80c8 /.config/systemd/user
parentb68ce750ac90da4fb88669d256666dbaa39f4338 (diff)
systemd: {x0,}vncserver need to conflict with eachother
Diffstat (limited to '.config/systemd/user')
-rw-r--r--.config/systemd/user/vncserver@.service1
-rw-r--r--.config/systemd/user/x0vncserver@.service1
2 files changed, 2 insertions, 0 deletions
diff --git a/.config/systemd/user/vncserver@.service b/.config/systemd/user/vncserver@.service
index ef83ef2..8c1d818 100644
--- a/.config/systemd/user/vncserver@.service
+++ b/.config/systemd/user/vncserver@.service
@@ -1,5 +1,6 @@
[Unit]
Description=VNC desktop
+Conflicts=x0vncserver@%i.service
[Service]
Type=simple
diff --git a/.config/systemd/user/x0vncserver@.service b/.config/systemd/user/x0vncserver@.service
index 476e822..02165a7 100644
--- a/.config/systemd/user/x0vncserver@.service
+++ b/.config/systemd/user/x0vncserver@.service
@@ -1,5 +1,6 @@
[Unit]
Description=VNC server for X displays
+Conflicts=vncserver@%i.service
[Service]
Type=simple