Skip to content

Instantly share code, notes, and snippets.

@lpimem
Forked from didip/supervisord-example.conf
Last active December 31, 2016 18:29
Show Gist options
  • Save lpimem/217c05d6274202243234a011e6fd8d5f to your computer and use it in GitHub Desktop.
Save lpimem/217c05d6274202243234a011e6fd8d5f to your computer and use it in GitHub Desktop.
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
minfds=1024 ; number of startup file descriptors
minprocs=200 ; number of process descriptors
user=root ; default user
childlogdir=/var/log/supervisord/ ; where child log files will live
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
[program:ss]
command=/opt/local/bin/shadowsocks-server -c /etc/shadowsocks.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment