Skip to content

Commit

Permalink
add comment to supervisord config
Browse files Browse the repository at this point in the history
  • Loading branch information
algo7 committed Oct 9, 2023
1 parent a9ac0c9 commit 9924871
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion proxy_pool/supervisord.conf
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9924871

Please sign in to comment.