summaryrefslogtreecommitdiffstats
path: root/sites/elchstats.nsupdate.info/graphite-web.service
diff options
context:
space:
mode:
Diffstat (limited to 'sites/elchstats.nsupdate.info/graphite-web.service')
-rw-r--r--sites/elchstats.nsupdate.info/graphite-web.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/sites/elchstats.nsupdate.info/graphite-web.service b/sites/elchstats.nsupdate.info/graphite-web.service
new file mode 100644
index 00000000..4fc25467
--- /dev/null
+++ b/sites/elchstats.nsupdate.info/graphite-web.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Graphite Web
+After=network.target
+
+[Service]
+Type=simple
+User=graphite
+Group=graphite
+RemainAfterExit=yes
+Environment=PYTHONPATH=/opt/graphite/webapp
+ExecStart=/usr/bin/django-admin.py runserver 0.0.0.0:8080 --settings=graphite.settings
+
+[Install]
+WantedBy=multi-user.target