diff --git a/supervisord/supervisord.conf b/supervisord/supervisord.conf index 8a07cf1..f304a41 100644 --- a/supervisord/supervisord.conf +++ b/supervisord/supervisord.conf @@ -2,8 +2,8 @@ nodaemon=true logfile=/dev/null loglevel=error -stdout_logfile_maxbytes = 0 -stderr_logfile_maxbytes = 0 +stdout_logfile_maxbytes = 0 +stderr_logfile_maxbytes = 0 [program:hottub] command=bash /app/supervisord/hottub.sh @@ -12,21 +12,23 @@ autorestart=true stdout_logfile=/dev/stdout stderr_logfile=/dev/stderr directory=/app -stdout_logfile_maxbytes = 0 -stderr_logfile_maxbytes = 0 +stdout_logfile_maxbytes = 0 +stderr_logfile_maxbytes = 0 [program:vnc] -command=/dockerstartup/vnc_startup.sh --wait +command=bash -c '[ "$PROXY" = "1" ] && exec /dockerstartup/vnc_startup.sh --wait || echo "Skipping vnc (PROXY != 1)"' autostart=true -autorestart=true -stdout_logfile_maxbytes = 0 -stderr_logfile_maxbytes = 0 - -[program:burpsuite] -command=bash /app/supervisord/burpsuite.sh -autostart=true -autorestart=true +autorestart=false stdout_logfile=/dev/stdout stderr_logfile=/dev/stderr -stdout_logfile_maxbytes = 0 -stderr_logfile_maxbytes = 0 \ No newline at end of file +stdout_logfile_maxbytes = 0 +stderr_logfile_maxbytes = 0 + +[program:burpsuite] +command=bash -c '[ "$PROXY" = "1" ] && exec /app/supervisord/burpsuite.sh || echo "Skipping burpsuite (PROXY != 1)"' +autostart=true +autorestart=false +stdout_logfile=/dev/stdout +stderr_logfile=/dev/stderr +stdout_logfile_maxbytes = 0 +stderr_logfile_maxbytes = 0