mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
27 lines
878 B
Plaintext
27 lines
878 B
Plaintext
[supervisord]
|
|
nodaemon = true
|
|
environment = GRAPHITE_STORAGE_DIR='/opt/graphite/storage',GRAPHITE_CONF_DIR='/opt/graphite/conf'
|
|
|
|
[program:nginx]
|
|
command = /usr/sbin/nginx
|
|
stdout_logfile = /var/log/supervisor/%(program_name)s.log
|
|
stderr_logfile = /var/log/supervisor/%(program_name)s.log
|
|
autorestart = true
|
|
|
|
[program:carbon-cache]
|
|
;user = www-data
|
|
command = /opt/graphite/bin/carbon-cache.py --debug start
|
|
stdout_logfile = /var/log/supervisor/%(program_name)s.log
|
|
stderr_logfile = /var/log/supervisor/%(program_name)s.log
|
|
autorestart = true
|
|
|
|
[program:graphite-webapp]
|
|
;user = www-data
|
|
directory = /opt/graphite/webapp
|
|
environment = PYTHONPATH='/opt/graphite/webapp'
|
|
command = /usr/bin/gunicorn_django -b127.0.0.1:8000 -w2 graphite/settings.py
|
|
stdout_logfile = /var/log/supervisor/%(program_name)s.log
|
|
stderr_logfile = /var/log/supervisor/%(program_name)s.log
|
|
autorestart = true
|
|
|