summaryrefslogtreecommitdiff
path: root/.config/systemd/user/vncserver@.service
blob: 2433977ad9870cedde68c9a3e1f761feabb0460c (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=/bin/bash -l -c 'vncserver -fg %I'
ExecStopPost=/bin/rm /tmp/.X%I-lock /tmp/.X11-unix/X%I

[Install]
WantedBy=default.target