Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14766597
D11787.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
717 B
Referenced Files
None
Subscribers
None
D11787.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11787: Fix a minor issue with killing daemons
Attached
Detach File
Event Timeline
Log In to Comment