Last active
September 19, 2019 07:02
-
-
Save lwzm/a5006e6972b3f1095b10 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [rpcinterface:supervisor] | |
| supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface | |
| [supervisord] | |
| pidfile = run/supervisord.pid | |
| logfile = log/supervisord.log | |
| [unix_http_server] | |
| file = run/supervisor.sock | |
| chmod = 0766 | |
| [supervisorctl] | |
| serverurl = unix://run/supervisor.sock | |
| history_file = log/.supervisorctl_history | |
| [program:foo] | |
| command=cat | |
| stdout_logfile=log/%(program_name)s.out | |
| stderr_logfile=log/%(program_name)s.err | |
| [program:bar] | |
| command=cat | |
| redirect_stderr=true | |
| stdout_logfile=log/%(program_name)s.log | |
| [program:ssh_tunnel] | |
| command=ssh -C -N -R 22222:localhost:22 ali.tyio.net | |
| redirect_stderr=true | |
| stdout_logfile=log/%(program_name)s.log | |
| startretries=1000 | |
| [program:crawler] | |
| command=./loop.sh | |
| numprocs=16 | |
| #process_name=%(program_name)s-%(process_num)03d | |
| process_name=%(process_num)03d | |
| stdout_logfile=log/%(program_name)s-%(process_num)03d.out | |
| stderr_logfile=log/%(program_name)s-%(process_num)03d.err | |
| [program:redis] | |
| command=redis-server etc/redis.conf | |
| redirect_stderr=true | |
| stdout_logfile=log/%(program_name)s.log | |
| umask=002 | |
| priority=5 | |
| stopwaitsecs=30 | |
| # amd做傀儡, 本机 127.1.1.1 才是真正的 sss | |
| [program:s] | |
| command = ssserver -s 127.1.1.1 -p 58388 -k z | |
| redirect_stderr = true | |
| stdout_logfile = log/%(program_name)s.log | |
| [program:t] | |
| command = ssh -C -N -R 0.0.0.0:58388:127.1.1.1:58388 amd.tyio.net | |
| redirect_stderr = true | |
| stdout_logfile = log/%(program_name)s.log | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment