Auto restart x11vnc if crashes

Related bug: https://bugs.launchpad.net/ubuntu/+source/x11vnc/+bug/1686084
This commit is contained in:
Trinh Pham 2019-06-16 23:45:37 +07:00
parent 3479738457
commit c888c05572

View file

@ -21,6 +21,7 @@ command=/usr/bin/x11vnc -display %(ENV_DISPLAY)s -nopw -forever -shared
stdout_logfile=%(ENV_LOG_PATH)s/x11vnc.stdout.log
stderr_logfile=%(ENV_LOG_PATH)s/x11vnc.stderr.log
priority=2
autorestart=true
[program:novnc]
command=./noVNC/utils/launch.sh --vnc localhost:%(ENV_LOCAL_PORT)s --listen %(ENV_TARGET_PORT)s