|
@@ -0,0 +1,32 @@
|
|
|
+[unix_http_server]
|
|
|
+file=/dev/shm/supervisor.sock ; (the path to the socket file)
|
|
|
+
|
|
|
+[supervisord]
|
|
|
+logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
|
|
|
+logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
|
|
|
+logfile_backups=10 ; (num of main logfile rotation backups;default 10)
|
|
|
+loglevel=info ; (log level;default info; others: debug,warn,trace)
|
|
|
+pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
|
|
|
+nodaemon=false ; (start in foreground if true;default false)
|
|
|
+minfds=1024 ; (min. avail startup file descriptors;default 1024)
|
|
|
+minprocs=200 ; (min. avail process descriptors;default 200)
|
|
|
+user=root ;
|
|
|
+
|
|
|
+[rpcinterface:supervisor]
|
|
|
+supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
|
|
|
+
|
|
|
+[supervisorctl]
|
|
|
+serverurl=unix:///dev/shm/supervisor.sock ; use a unix:// URL for a unix socket
|
|
|
+
|
|
|
+[program:ss-server]
|
|
|
+command = ss-server -s 127.0.0.1 -p 40000 -k socks5tohttp -m aes-256-gcm -t 300
|
|
|
+autostart=true
|
|
|
+
|
|
|
+[program:ss-local]
|
|
|
+command = ss-local -s 127.0.0.1 -p 40000 -b 127.0.0.1 -l 1080 -k socks5tohttp -m aes-256-gcm -t 300
|
|
|
+autostart=true
|
|
|
+
|
|
|
+[program:socks5tohttp]
|
|
|
+command = brook socks5tohttp -s 127.0.0.1:1080 --listen 0.0.0.0:58010
|
|
|
+autostart=true
|
|
|
+
|