From 93e341fbdad3b73bcff2de76ec9ac084cfeb30f0 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Thu, 21 Apr 2016 09:25:39 +1000 Subject: [PATCH] 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 --- .../management/PhabricatorAphlictManagementStatusWorkflow.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/applications/aphlict/management/PhabricatorAphlictManagementStatusWorkflow.php b/src/applications/aphlict/management/PhabricatorAphlictManagementStatusWorkflow.php index c9a0768bf2..bfc5ac32a6 100644 --- a/src/applications/aphlict/management/PhabricatorAphlictManagementStatusWorkflow.php +++ b/src/applications/aphlict/management/PhabricatorAphlictManagementStatusWorkflow.php @@ -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(); -- 2.51.2