1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

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:
Joshua Spence 2016-04-21 09:25:39 +10:00
parent 9419e4f13a
commit 93e341fbda

View file

@ -7,10 +7,11 @@ final class PhabricatorAphlictManagementStatusWorkflow
$this
->setName('status')
->setSynopsis(pht('Show the status of the notification server.'))
->setArguments(array());
->setArguments($this->getLaunchArguments());
}
public function execute(PhutilArgumentParser $args) {
$this->parseLaunchArguments($args);
$console = PhutilConsole::getConsole();
$pid = $this->getPID();