summaryrefslogtreecommitdiffstats
path: root/sites/elchstats.nsupdate.info/carbon.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/carbon.service
parent808611ce321d1aefe28c08a95fdd7ea7d92ec551 (diff)
add graphite deployment
Diffstat (limited to 'sites/elchstats.nsupdate.info/carbon.service')
-rw-r--r--sites/elchstats.nsupdate.info/carbon.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/sites/elchstats.nsupdate.info/carbon.service b/sites/elchstats.nsupdate.info/carbon.service
new file mode 100644
index 00000000..d7087d41
--- /dev/null
+++ b/sites/elchstats.nsupdate.info/carbon.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Graphite Carbon
+After=network.target
+
+[Service]
+Type=forking
+User=graphite
+Group=graphite
+RemainAfterExit=yes
+PIDFile=/opt/graphite/storage/carbon-cache-a.pid
+ExecStart=/opt/graphite/bin/carbon-cache.py start
+ExecStop=/opt/graphite/bin/carbon-cache.py stop
+
+[Install]
+WantedBy=multi-user.target