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