HomePhorge

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

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

Provenance
epriestleyAuthored on Jan 16 2012, 12:37 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP56447ed2ccbe: Add more options to Remarkup
Branches
Unknown
Tags
Unknown

Event Timeline