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