15 lines
344 B
SYSTEMD
15 lines
344 B
SYSTEMD
|
[Unit]
|
||
|
Description=Graphite Carbon Relay
|
||
|
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.pid start
|
||
|
ExecReload=/bin/kill -USR1 $MAINPID
|
||
|
PIDFile=/var/run/carbon-relay.pid
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|