python-carbon/SOURCES/carbon-aggregator@.service

16 lines
414 B
SYSTEMD
Raw Permalink Normal View History

2023-08-25 16:11:00 +00:00
[Unit]
Description=Graphite Carbon Aggregator Instance %I
After=network.target
[Service]
Type=forking
StandardOutput=syslog
StandardError=syslog
ExecStart=/usr/bin/carbon-aggregator --config=/etc/carbon/carbon.conf --pidfile=/var/run/carbon-aggregator-%i.pid --instance=%i start
ExecReload=/bin/kill -USR1 $MAINPID
PIDFile=/var/run/carbon-aggregator-%i.pid
[Install]
WantedBy=multi-user.target
DefaultInstance=a