Page MenuHomePhabricator

D11787.diff
No OneTemporary

D11787.diff

diff --git a/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php b/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php
--- a/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php
+++ b/src/applications/daemon/management/PhabricatorDaemonManagementWorkflow.php
@@ -508,7 +508,9 @@
$pid = $daemon->getPID();
$name = $daemon->getName();
- if (!$pid && !$force) {
+ if (!$pid) {
+ // NOTE: We must have a PID to signal a daemon, since sending a signal
+ // to PID 0 kills this process.
$console->writeOut("%s\n", pht("Daemon '%s' has no PID!", $name));
unset($daemons[$key]);
continue;

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 24, 4:45 PM (19 h, 58 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7041857
Default Alt Text
D11787.diff (717 B)

Event Timeline