Create supervisor.conf
Browse files- supervisor.conf +28 -0
supervisor.conf
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[supervisord]
|
2 |
+
logfile=/var/log/supervisor/supervisord.log
|
3 |
+
logfile_maxbytes=10MB
|
4 |
+
logfile_backups=10
|
5 |
+
loglevel=info
|
6 |
+
pidfile=/var/run/supervisor/supervisord.pid
|
7 |
+
nodaemon=true
|
8 |
+
childlogdir=/var/log/supervisor
|
9 |
+
|
10 |
+
[inet_http_server]
|
11 |
+
port=127.0.0.1:9005
|
12 |
+
|
13 |
+
[rpcinterface:supervisor]
|
14 |
+
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
|
15 |
+
|
16 |
+
[supervisorctl]
|
17 |
+
serverurl=http://127.0.0.1:9005
|
18 |
+
|
19 |
+
[program:cloudflared]
|
20 |
+
command=/usr/local/bin/cloudflared tunnel --no-autoupdate run --token %(ENV_CF_ZERO_TRUST_TOKEN)s
|
21 |
+
directory=/
|
22 |
+
stdout_logfile=/dev/stdout
|
23 |
+
stderr_logfile=/dev/stderr
|
24 |
+
autostart=true
|
25 |
+
autorestart=true
|
26 |
+
startsecs=5
|
27 |
+
stopwaitsecs=5
|
28 |
+
killasgroup=true
|