summaryrefslogtreecommitdiffstats
path: root/sites/elchstats.nsupdate.info/carbon.service
diff options
context:
space:
mode:
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