/lib/systemd/system/carbon-relay@.service is in graphite-carbon 1.0.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [Unit]
Description=Graphite Carbon Relay %i
After=network.target
Documentation=https://graphite.readthedocs.io
[Service]
Type=forking
StandardOutput=syslog
StandardError=syslog
ExecStart=/usr/bin/carbon-relay --config=/etc/carbon/carbon.conf --instance %i --pidfile=/var/run/carbon-relay-%i.pid --logdir=/var/log/carbon/ start
PIDFile=/var/run/carbon-relay-%i.pid
[Install]
WantedBy=multi-user.target
|