13 lines
204 B
SYSTEMD
13 lines
204 B
SYSTEMD
|
[Unit]
|
||
|
Description=run x11vnc as a service
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=sasha
|
||
|
WorkingDirectory=/home/sasha
|
||
|
ExecStart=sh /home/sasha/vncstart.sh
|
||
|
ExecStop=killall x11vnc
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=graphical.target
|