← 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

iodisciple posted a new comment:
Many thanks, this did the trick:

[Unit]
Description=Graphite Carbon Cache
After=network.target

[Service]
Type=forking
StandardOutput=syslog
StandardError=syslog
ExecStart=/opt/graphite/bin/carbon-cache.py --config=/opt/graphite/conf/carbon.conf --pidfile=/var/run/carbon-cache.pid start
ExecReload=/bin/kill -USR1 $MAINPID
PIDFile=/var/run/carbon-cache.pid

[Install]
WantedBy=multi-user.target

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