Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15404574
D9613.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
871 B
Referenced Files
None
Subscribers
None
D9613.id.diff
View Options
diff --git a/src/daemon/PhutilDaemonOverseer.php b/src/daemon/PhutilDaemonOverseer.php
--- a/src/daemon/PhutilDaemonOverseer.php
+++ b/src/daemon/PhutilDaemonOverseer.php
@@ -120,7 +120,7 @@
$this->daemonize = $args->getArg('daemonize');
$this->phddir = $args->getArg('phd');
$this->argv = $argv;
- $this->moreArgs = $more;
+ $this->moreArgs = coalesce($more, array());
error_log("Bringing daemon '{$this->daemon}' online...");
@@ -162,7 +162,9 @@
$this->daemonID = $this->generateDaemonID();
$this->dispatchEvent(
self::EVENT_DID_LAUNCH,
- array('argv' => array_slice($original_argv, 1)));
+ array(
+ 'argv' => array_slice($original_argv, 1),
+ 'interestingArgv' => $this->moreArgs));
declare(ticks = 1);
pcntl_signal(SIGUSR1, array($this, 'didReceiveKeepaliveSignal'));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 19 2025, 8:18 AM (5 w, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7694058
Default Alt Text
D9613.id.diff (871 B)
Attached To
Mode
D9613: Pass additional arguments to the `PhabricatorDaemonEventListener`.
Attached
Detach File
Event Timeline
Log In to Comment