Page MenuHomePhabricator

D11873.diff
No OneTemporary

D11873.diff

diff --git a/src/infrastructure/daemon/control/PhabricatorDaemonReference.php b/src/infrastructure/daemon/control/PhabricatorDaemonReference.php
--- a/src/infrastructure/daemon/control/PhabricatorDaemonReference.php
+++ b/src/infrastructure/daemon/control/PhabricatorDaemonReference.php
@@ -40,6 +40,20 @@
$logs = mpull($logs, null, 'getDaemonID');
}
+ // Support PID files that use the old daemon format, where each overseer
+ // had exactly one daemon. We can eventually remove this; they will still
+ // be stopped by `phd stop --force` even if we don't identify them here.
+ if (!$daemons && idx($dict, 'name')) {
+ $daemons = array(
+ array(
+ 'config' => array(
+ 'class' => idx($dict, 'name'),
+ 'argv' => idx($dict, 'argv', array()),
+ ),
+ ),
+ );
+ }
+
foreach ($daemons as $daemon) {
$ref = new PhabricatorDaemonReference();

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 27, 7:57 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6721352
Default Alt Text
D11873.diff (944 B)

Event Timeline