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

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
This commit is contained in:
epriestley 2016-04-15 15:12:53 -07:00
parent fe40be7fc9
commit b2db1ec2ca

View file

@ -7,10 +7,11 @@ final class PhabricatorAphlictManagementStopWorkflow
$this $this
->setName('stop') ->setName('stop')
->setSynopsis(pht('Stop the notification server.')) ->setSynopsis(pht('Stop the notification server.'))
->setArguments(array()); ->setArguments($this->getLaunchArguments());
} }
public function execute(PhutilArgumentParser $args) { public function execute(PhutilArgumentParser $args) {
$this->parseLaunchArguments($args);
return $this->executeStopCommand(); return $this->executeStopCommand();
} }