Homec4science

'phd status' should exit with non-zero if daemons are not running.

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

Description

'phd status' should exit with non-zero if daemons are not running.

'phd status' may be invoked by tools (such as puppet) which need to make
automated decisions about whether to start/restart the daemon. To enable this,
'phd status' now exits with 0 if all daemons are running, 1 if no daemons are
running, and 2 if some (but not all) daemons are running.

Details

Committed
Owen Jacobson <owen@freshbooks.com>Jul 17 2012, 19:48
Pushed
aubortJan 31 2017, 17:16
Parents
rPH02f40fd7ef48: Allow noncritical blocks in email bodies to be disabled via config
Branches
Unknown
Tags
Unknown

Event Timeline

Owen Jacobson <owen@freshbooks.com> committed rPH420d6426f960: 'phd status' should exit with non-zero if daemons are not running. (authored by Owen Jacobson <owen@freshbooks.com>).Jul 17 2012, 19:48