From 9924871186cfa7eb0e5e8998061f5e5995836708 Mon Sep 17 00:00:00 2001 From: algo7 <11154774+algo7@users.noreply.github.com> Date: Mon, 9 Oct 2023 06:33:29 +0200 Subject: [PATCH] add comment to supervisord config --- proxy_pool/supervisord.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/proxy_pool/supervisord.conf b/proxy_pool/supervisord.conf index f50919c..1bb614f 100644 --- a/proxy_pool/supervisord.conf +++ b/proxy_pool/supervisord.conf @@ -1,16 +1,23 @@ +# Supervisord config file [supervisord] +# Run as foreground process nodaemon=true user=root +# OpenVPN [program:openvpn] +# Run OpenVPN using the config file located at /var/run/secrets/config.ovpn command=openvpn /var/run/secrets/config.ovpn +# Set a high priority so OpenVPN starts first priority=100 - +# Dante SOCKS proxy [program:dante] +# Delay the start of Dante by 5 seconds to allow OpenVPN to start command=bash -c 'sleep 5 && sockd' priority=200 +# Squid HTTP proxy [program:squid] command=bash -c 'sleep 5 && squid -N' priority=201