From c888c0557224d1d0f70411608ca76637e47aa42f Mon Sep 17 00:00:00 2001 From: Trinh Pham Date: Sun, 16 Jun 2019 23:45:37 +0700 Subject: [PATCH] Auto restart x11vnc if crashes Related bug: https://bugs.launchpad.net/ubuntu/+source/x11vnc/+bug/1686084 --- supervisord.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/supervisord.conf b/supervisord.conf index 9ef4949..ba36e0a 100644 --- a/supervisord.conf +++ b/supervisord.conf @@ -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