dont start burpsuite and vnc if PROXY!=1
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
nodaemon=true
|
nodaemon=true
|
||||||
logfile=/dev/null
|
logfile=/dev/null
|
||||||
loglevel=error
|
loglevel=error
|
||||||
stdout_logfile_maxbytes = 0
|
stdout_logfile_maxbytes = 0
|
||||||
stderr_logfile_maxbytes = 0
|
stderr_logfile_maxbytes = 0
|
||||||
|
|
||||||
[program:hottub]
|
[program:hottub]
|
||||||
command=bash /app/supervisord/hottub.sh
|
command=bash /app/supervisord/hottub.sh
|
||||||
@@ -12,21 +12,23 @@ autorestart=true
|
|||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
directory=/app
|
directory=/app
|
||||||
stdout_logfile_maxbytes = 0
|
stdout_logfile_maxbytes = 0
|
||||||
stderr_logfile_maxbytes = 0
|
stderr_logfile_maxbytes = 0
|
||||||
|
|
||||||
[program:vnc]
|
[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
|
autostart=true
|
||||||
autorestart=true
|
autorestart=false
|
||||||
stdout_logfile_maxbytes = 0
|
|
||||||
stderr_logfile_maxbytes = 0
|
|
||||||
|
|
||||||
[program:burpsuite]
|
|
||||||
command=bash /app/supervisord/burpsuite.sh
|
|
||||||
autostart=true
|
|
||||||
autorestart=true
|
|
||||||
stdout_logfile=/dev/stdout
|
stdout_logfile=/dev/stdout
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
stdout_logfile_maxbytes = 0
|
stdout_logfile_maxbytes = 0
|
||||||
stderr_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
|
||||||
|
|||||||
Reference in New Issue
Block a user