Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; See http://supervisord.org/configuration.html
- [supervisord]
- logfile=/var/log/supervisor/supervisord.log
- nodaemon=true ; (start in foreground if true;default false)
- [rpcinterface:supervisor] ;must remain in the configuration for the standard setup of supervisor to work properly
- supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
- [program:postgresql]
- command=/usr/lib/postgresql/9.6/bin/postgres -D /var/lib/postgresql/9.6/main -c config_file=/etc/postgresql/9.6/main/postgresql.conf
- user=postgres
- autorestart=true
- [inet_http_server]
- port = 127.0.0.1:9001
- [supervisorctl]
- serverurl=http://127.0.0.1:9001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement