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

16 lines
394 B
SYSTEMD
Raw Normal View History

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