summaryrefslogtreecommitdiffstats
path: root/sites/elchstats.nsupdate.info/graphite-web.service
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2014-04-01 22:35:37 +0200
committermakefu <github@syntax-fehler.de>2014-04-01 22:35:37 +0200
commite33e18050f7c3fdc9093f3f2da8470fbf8017e57 (patch)
treebf2029824f786fde7f87cfff21132938b073763f /sites/elchstats.nsupdate.info/graphite-web.service
parent808611ce321d1aefe28c08a95fdd7ea7d92ec551 (diff)
add graphite deployment
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