← Back to team overview

graphite-dev team mailing list archive

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

 

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

Description changed to:
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 another template, but this
fails. What should be a proper systemd unit file?

/etc/systemd/system/carbon.service:

[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.