Page MenuHomePhorge

PhabricatorAphlictManagementRestartWorkflow.php
No OneTemporary

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();
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Jan 19, 15:36 (3 w, 8 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1126059
Default Alt Text
PhabricatorAphlictManagementRestartWorkflow.php (477 B)

Event Timeline