blob: 2b5b453cef95f2bfe1cb7847fd608741e4aa1bad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=VNC virtual desktop %I
Conflicts=x0vncserver@%i.service
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/env vncserver -fg %I
ExecStopPost=/bin/rm /tmp/.X%I-lock /tmp/.X11-unix/X%I
[Install]
WantedBy=default.target
|