Homec4science

Remove daemon PID files for missing daemons when running "phd stop"

Authored by epriestley <git@epriestley.com> on Jan 16 2012, 21:37.

Description

Remove daemon PID files for missing daemons when running "phd stop"

Summary: When we try to kill a daemon but discover it isn't running, we should
remove the PID file. We can also simplify the logic here.

Test Plan: Ran "phd stop" a couple of times, subsequent runs did not try to stop
a legion of dead daemons.

Reviewers: btrahan, jungejason

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T781

Differential Revision: https://secure.phabricator.com/D1421

Details

Committed
epriestley <git@epriestley.com>Jan 16 2012, 21:59
Pushed
aubortJan 31 2017, 17:16
Parents
rPH56447ed2ccbe: Add more options to Remarkup
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH1651be91ec0f: Remove daemon PID files for missing daemons when running "phd stop" (authored by epriestley <git@epriestley.com>).Jan 16 2012, 21:59