Page MenuHomec4science

PhabricatorAphlictManagementRestartWorkflow.php
No OneTemporary

File Metadata

Created
Thu, Dec 19, 19:51

PhabricatorAphlictManagementRestartWorkflow.php

<?php
final class PhabricatorAphlictManagementRestartWorkflow
extends PhabricatorAphlictManagementWorkflow {
public function didConstruct() {
parent::didConstruct();
$this
->setName('restart')
->setSynopsis(pht('Stop, then start the notifications server.'));
}
public function execute(PhutilArgumentParser $args) {
parent::execute($args);
$err = $this->executeStopCommand();
if ($err) {
return $err;
}
return $this->executeStartCommand();
}
}

Event Timeline