add graphite-web/carbon-cache start up script as service

Asked by kumar

Hi All,

Graphite is installed fine .Below issue i am facing

1. nohup /opt/graphite/bin/run-graphite-devel-server.py /opt/graphite/ & for starting graphite web in background.Is there option to start as service as we have for carbon-cache

Please suggest.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
kumar (dvrkittu) said :
#1

Hi,
Waiting for response.

Revision history for this message
Denis Zhdanov (deniszhdanov) said :
#2

Devel server's purpose is developing only, it's not intended for production use.
It's not working as a daemon for a reason. For production please use Apache + mod_wsgi or gunicorn + some proxy, e.g. Nginx
There're tons of tutorials and manual for both.
E.g. for apache + mod_wsgi - https://www.digitalocean.com/community/tutorials/installing-and-configuring-graphite-and-statsd-on-an-ubuntu-12-04-vps
And for gunicorn + nginx - https://www.frlinux.eu/?p=199 or http://www.kinvey.com/blog/108/graphite-on-ubuntu-1204-lts-8211-part-ii-gunicorn-nginx-and-supervisord

Can you help with this problem?

Provide an answer of your own, or ask kumar for more information if necessary.

To post a message you must log in.