16 lines
394 B
SYSTEMD
16 lines
394 B
SYSTEMD
|
[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
|