Page MenuHomec4science

PhabricatorAphlictManagementRestartWorkflow.php
No OneTemporary

File Metadata

Created
Sat, Nov 23, 12:34

PhabricatorAphlictManagementRestartWorkflow.php

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

Event Timeline