15 lines
448 B
Desktop File
15 lines
448 B
Desktop File
# VNC password should be set in /etc/passwdd
|
|
# TODO we still need to handle session termination
|
|
|
|
[Unit]
|
|
Description=Specific x11vnc session
|
|
OnFailure=scan-to-cloud.service
|
|
|
|
[Service]
|
|
User=scan
|
|
Type=simple
|
|
ExecStart=/usr/bin/x11vnc -once -create -localhost -inetd -bg -o /var/log/x11vnc.log -rfbauth /etc/passwdd
|
|
#ExecStop=/usr/bin/x11vnc -R stop # TODO test that, unless it prevents OnFailure from working
|
|
StandardInput=socket
|
|
StandardError=syslog
|