Skip to content

Instantly share code, notes, and snippets.

View zhaoyongjie's full-sized avatar

Yongjie Zhao zhaoyongjie

  • Munich, Germany
View GitHub Profile
@zhaoyongjie
zhaoyongjie / supervisord-example.conf
Created October 29, 2015 14:13 — forked from didip/supervisord-example.conf
Example configuration file for supervisord.conf
[unix_http_server]
file=/tmp/supervisor.sock ; path to your socket file
[supervisord]
logfile=/var/log/supervisord/supervisord.log ; supervisord log file
logfile_maxbytes=50MB ; maximum size of logfile before rotation
logfile_backups=10 ; number of backed up logfiles
loglevel=error ; info, debug, warn, trace
pidfile=/var/run/supervisord.pid ; pidfile location
nodaemon=false ; run supervisord as a daemon
global {
# debug = on; # /var/pdnsd/pdnsd.debug
perm_cache=1024; # 1MB cache
cache_dir="/var/pdnsd";
run_as="nobody";
paranoid=on;
server_port = 53;
server_ip = any;
status_ctl = on;
query_method=tcp_only; # gfw don't pollute TCP query now