summaryrefslogtreecommitdiff
path: root/.config/systemd/user/vncserver@.service
blob: fa616d6cabfc585b6cc772df181c0f131d6f96d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
[Unit]
Description=VNC desktop

[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