Initial commit, existing project
This commit is contained in:
14
vnc@.service
Normal file
14
vnc@.service
Normal file
@ -0,0 +1,14 @@
|
||||
# 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
|
Reference in New Issue
Block a user