graphite service: store PID files under /run and configure systemd to use them
The advantage of putting the PID file under the ephemeral /run is that when the machine crashes /run gets cleared allowing graphite to start once the machine is rebooted. We also set the PIDFile systemd option so that systemd knows the correct PID and enables systemd to remove the file after service shut down.
parent
10135e6f
Please register or sign in to comment