1 ; supervisor config file.
3 ; For more information on the config file, please see:
4 ; http://supervisord.org/configuration.html
8 file=/tmp/supervisor.sock ; (the path to the socket file)
9 ;chmod=0700 ; socket file mode (default 0700)
10 ;chown=nobody:nogroup ; socket file uid:gid owner
11 ;username=user ; (default is no username (open server))
12 ;password=123 ; (default is no password (open server))
14 ;[inet_http_server] ; inet (TCP) server disabled by default
15 ;port=127.0.0.1:9001 ; (ip_address:port specifier, *:port for all iface)
16 ;username=user ; (default is no username (open server))
17 ;password=123 ; (default is no password (open server))
20 logfile=/tmp/supervisord.log ; (main log file;default $CWD/supervisord.log)
21 logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
22 logfile_backups=10 ; (num of main logfile rotation backups;default 10)
23 loglevel=info ; (log level;default info; others: debug,warn,trace)
24 pidfile=/tmp/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
25 ; nodaemon=false ; (start in foreground if true;default false)
26 nodaemon=true ; (start in foreground if true;default false)
27 minfds=1024 ; (min. avail startup file descriptors;default 1024)
28 minprocs=200 ; (min. avail process descriptors;default 200)
29 ;umask=022 ; (process file creation umask;default 022)
30 ;user=chrism ; (default is current user, required if root)
31 ;identifier=supervisor ; (supervisord identifier, default is 'supervisor')
32 ;directory=/tmp ; (default is not to cd during start)
33 ;nocleanup=true ; (don't clean up tempfiles at start;default false)
34 ;childlogdir=/tmp ; ('AUTO' child log dir, default $TEMP)
35 ;environment=KEY=value ; (key value pairs to add to environment)
36 ;strip_ansi=false ; (strip ansi escape codes in logs; def. false)
38 ; the below section must remain in the config file for RPC
39 ; (supervisorctl/web interface) to work, additional interfaces may be
40 ; added by defining them in separate rpcinterface: sections
41 [rpcinterface:supervisor]
42 supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
45 serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
46 ;serverurl=http://127.0.0.1:9001 ; use an http:// url to specify an inet socket
47 ;username=chris ; should be same as http_username if set
48 ;password=123 ; should be same as http_password if set
49 ;prompt=mysupervisor ; cmd line prompt (default "supervisor")
50 ;history_file=~/.sc_history ; use readline history if available
53 command=/usr/bin/postgres -D /var/lib/pgsql/data -p 5432
55 stdout_logfile=/var/log/supervisor/%(program_name)s.log
56 stderr_logfile=/var/log/supervisor/%(program_name)s.log
61 command=/postinstall.sh
63 stdout_logfile=/var/log/supervisor/%(program_name)s.log
64 stderr_logfile=/var/log/supervisor/%(program_name)s.log
68 command=/usr/sbin/sshd -D
69 stdout_logfile=/var/log/supervisor/%(program_name)s.log
70 stderr_logfile=/var/log/supervisor/%(program_name)s.log
74 command=/usr/sbin/httpd -DFOREGROUND
79 command=/usr/sbin/crond -n
83 command=/usr/sbin/nscd -d