← Back to team overview

graphite-dev team mailing list archive

[Question #667805]: /opt/graphite/bin/carbon-cache.py start systemd service?

 

New question #667805 on Graphite:
https://answers.launchpad.net/graphite/+question/667805

Hi all,

To get Carbon running I've used the /opt/graphite/bin/carbon-cache.py start command. No problem here. I would like though to get it in a systemd unit file. I tried the below, using anothe template, but this fails. How is this possible?

[Unit]
Description=carbon daemon
After=network.target

[Service]
User=root
Group=www-data
WorkingDirectory=/opt/graphite/bin
ExecStart=/opt/graphite/bin/carbon-cache.py start

[Install]
WantedBy=multi-user.target

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.