2015-03-19 15:21:37 +08:00
|
|
|
[program:dnscrypt]
|
|
|
|
priority = 100
|
|
|
|
command = dnscrypt-proxy -a 127.0.0.1:2053 -R opendns
|
|
|
|
|
|
|
|
[program:pdnsd]
|
|
|
|
priority = 200
|
|
|
|
command = pdnsd -c /etc/pdnsd.conf
|
|
|
|
|
|
|
|
[program:shadowsocks]
|
|
|
|
priority = 300
|
2015-04-22 15:54:40 +08:00
|
|
|
command = bash -c 'sslocal -c <(jq "select(.local_port==%(process_num)d)" /etc/shadowsocks.json)'
|
|
|
|
numprocs_start = 1981
|
|
|
|
numprocs = 5
|
2015-03-19 15:21:37 +08:00
|
|
|
process_name = %(process_num)d
|
|
|
|
|
|
|
|
[program:haproxy]
|
|
|
|
priority = 400
|
2015-03-19 16:07:45 +08:00
|
|
|
command = haproxy -f /etc/haproxy/haproxy.cfg
|
2015-03-19 15:21:37 +08:00
|
|
|
|
2015-03-19 23:37:55 +08:00
|
|
|
[program:polipo]
|
2015-03-19 15:21:37 +08:00
|
|
|
priority = 500
|
2015-03-19 23:37:55 +08:00
|
|
|
command = /usr/bin/polipo -c /etc/polipo/config
|
|
|
|
|
|
|
|
[program:nginx]
|
|
|
|
priority = 600
|
2015-03-19 16:07:45 +08:00
|
|
|
command = nginx -g "daemon off; error_log stderr;"
|
2015-03-19 15:21:37 +08:00
|
|
|
|