HomePhorge

Retain pid files for dead daemons in 'phd status'.

Description

Retain pid files for dead daemons in 'phd status'.

'phd status' should have a stable result when invoked multiple times.
Automatically removing PID files for dead daemons every time 'phd status' is
invoked prevents tools from noticing that a daemon has died if something
happens to invoke 'phd status' before the tool looks. This affects Puppet
noticably, since it probably runs the status command every half hour.

Details

Provenance
Owen JacobsonAuthored on Jul 17 2012, 10:44 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP420d6426f960: 'phd status' should exit with non-zero if daemons are not running.
Branches
Unknown
Tags
Unknown

Event Timeline