Page MenuHomePhabricator

D11337.diff
No OneTemporary

D11337.diff

diff --git a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
--- a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
+++ b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
@@ -5,6 +5,7 @@
private $debug = false;
private $clientHost;
+ private $clientPort;
public function didConstruct() {
$this
@@ -15,11 +16,17 @@
'param' => 'hostname',
'help' => pht('Hostname to bind to for the client server.'),
),
+ array(
+ 'name' => 'client-port',
+ 'param' => 'port',
+ 'help' => pht('Port to bind to for the client server.'),
+ ),
));
}
public function execute(PhutilArgumentParser $args) {
$this->clientHost = $args->getArg('client-host');
+ $this->clientPort = $args->getArg('client-port');
return 0;
}
@@ -124,7 +131,9 @@
$log = PhabricatorEnv::getEnvConfig('notification.log');
$server_argv = array();
- $server_argv[] = '--client-port='.$client_uri->getPort();
+ $server_argv[] = '--client-port='.coalesce(
+ $this->clientPort,
+ $client_uri->getPort());
$server_argv[] = '--admin-port='.$server_uri->getPort();
$server_argv[] = '--admin-host='.$server_uri->getDomain();

File Metadata

Mime Type
text/plain
Expires
Sun, May 12, 3:25 AM (2 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6288009
Default Alt Text
D11337.diff (1 KB)

Event Timeline