Differential D15698 Diff 37842 src/applications/aphlict/management/PhabricatorAphlictManagementStatusWorkflow.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/aphlict/management/PhabricatorAphlictManagementStatusWorkflow.php
<?php | <?php | ||||
final class PhabricatorAphlictManagementStatusWorkflow | final class PhabricatorAphlictManagementStatusWorkflow | ||||
extends PhabricatorAphlictManagementWorkflow { | extends PhabricatorAphlictManagementWorkflow { | ||||
protected function didConstruct() { | protected function didConstruct() { | ||||
$this | $this | ||||
->setName('status') | ->setName('status') | ||||
->setSynopsis(pht('Show the status of the notifications server.')) | ->setSynopsis(pht('Show the status of the notification server.')) | ||||
->setArguments(array()); | ->setArguments(array()); | ||||
} | } | ||||
public function execute(PhutilArgumentParser $args) { | public function execute(PhutilArgumentParser $args) { | ||||
$console = PhutilConsole::getConsole(); | $console = PhutilConsole::getConsole(); | ||||
$pid = $this->getPID(); | $pid = $this->getPID(); | ||||
if (!$pid) { | if (!$pid) { | ||||
Show All 9 Lines |