From b2db1ec2ca21fee8461b6e399671bef5944cfa1e Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 15 Apr 2016 15:12:53 -0700 Subject: [PATCH] Make `bin/aphlict stop` read new config properly Summary: Ref T10697. I missed this so it isn't reading the new config properly. Test Plan: Ran `bin/aphlict stop`, saw it read config. Reviewers: chad, Mnkras Reviewed By: Mnkras Subscribers: Mnkras Maniphest Tasks: T10697 Differential Revision: https://secure.phabricator.com/D15729 --- .../management/PhabricatorAphlictManagementStopWorkflow.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/applications/aphlict/management/PhabricatorAphlictManagementStopWorkflow.php b/src/applications/aphlict/management/PhabricatorAphlictManagementStopWorkflow.php index 8c88e79d86..f7c270352b 100644 --- a/src/applications/aphlict/management/PhabricatorAphlictManagementStopWorkflow.php +++ b/src/applications/aphlict/management/PhabricatorAphlictManagementStopWorkflow.php @@ -7,10 +7,11 @@ final class PhabricatorAphlictManagementStopWorkflow $this ->setName('stop') ->setSynopsis(pht('Stop the notification server.')) - ->setArguments(array()); + ->setArguments($this->getLaunchArguments()); } public function execute(PhutilArgumentParser $args) { + $this->parseLaunchArguments($args); return $this->executeStopCommand(); }