StarrySkyWorld commited on
Commit
7df5e11
·
verified ·
1 Parent(s): 167282c

Create supervisord.conf

Browse files
Files changed (1) hide show
  1. supervisord.conf +27 -0
supervisord.conf ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [supervisord]
2
+ nodaemon=true
3
+ user=root
4
+ logfile=/dev/stdout
5
+ logfile_maxbytes=0
6
+ pidfile=/var/run/supervisord.pid
7
+
8
+ [program:wireproxy]
9
+ command=/usr/local/bin/wireproxy -c /app/warp/wireproxy.conf
10
+ autostart=true
11
+ autorestart=true
12
+ stdout_logfile=/dev/stdout
13
+ stdout_logfile_maxbytes=0
14
+ stderr_logfile=/dev/stderr
15
+ stderr_logfile_maxbytes=0
16
+ priority=10
17
+
18
+ [program:app]
19
+ command=/bin/bash -c "sleep 5 && python main.py"
20
+ directory=/app
21
+ autostart=true
22
+ autorestart=true
23
+ stdout_logfile=/dev/stdout
24
+ stdout_logfile_maxbytes=0
25
+ stderr_logfile=/dev/stderr
26
+ stderr_logfile_maxbytes=0
27
+ priority=20