Homec4science

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

Authored by Owen Jacobson <owen@freshbooks.com> on Jul 17 2012, 19:44.

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

Committed
Owen Jacobson <owen@freshbooks.com>Jul 17 2012, 19:48
Pushed
aubortJan 31 2017, 17:16
Parents
rPH420d6426f960: 'phd status' should exit with non-zero if daemons are not running.
Branches
Unknown
Tags
Unknown

Event Timeline

Owen Jacobson <owen@freshbooks.com> committed rPH883e11f761fd: Retain pid files for dead daemons in 'phd status'. (authored by Owen Jacobson <owen@freshbooks.com>).Jul 17 2012, 19:48