Fix ./bin/aphlict status
Summary: Fixes T10844. After recent changes to Aphlict (T6915 and T10697), `./bin/status` needs to be aware of the configuration file. As such, it is now necessary to run `./bin/aphlict status --config /path/to/config.json` rather than `./bin/aphlict status`. Test Plan: Ran `./bin/aphlict start ...` and `./bin/aphlict status` and saw "Aphlict (`$PID`) is running". Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Maniphest Tasks: T10844 Differential Revision: https://secure.phabricator.com/D15776
This commit is contained in:
@@ -7,10 +7,11 @@ final class PhabricatorAphlictManagementStatusWorkflow
|
|||||||
$this
|
$this
|
||||||
->setName('status')
|
->setName('status')
|
||||||
->setSynopsis(pht('Show the status of the notification server.'))
|
->setSynopsis(pht('Show the status of the notification server.'))
|
||||||
->setArguments(array());
|
->setArguments($this->getLaunchArguments());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function execute(PhutilArgumentParser $args) {
|
public function execute(PhutilArgumentParser $args) {
|
||||||
|
$this->parseLaunchArguments($args);
|
||||||
$console = PhutilConsole::getConsole();
|
$console = PhutilConsole::getConsole();
|
||||||
$pid = $this->getPID();
|
$pid = $this->getPID();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user