Advertisement
Guest User

supervisord.conf (minicase postgres)

a guest
Aug 2nd, 2017
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. ; See http://supervisord.org/configuration.html
  2.  
  3. [supervisord]
  4. logfile=/var/log/supervisor/supervisord.log
  5. nodaemon=true ; (start in foreground if true;default false)
  6.  
  7. [rpcinterface:supervisor] ;must remain in the configuration for the standard setup of supervisor to work properly
  8. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  9.  
  10. [program:postgresql]
  11. 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
  12. user=postgres
  13. autorestart=true
  14.  
  15. [inet_http_server]
  16. port = 127.0.0.1:9001
  17.  
  18. [supervisorctl]
  19. serverurl=http://127.0.0.1:9001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement