Page MenuHomec4science

PhabricatorDaemonManagementStartWorkflow.php
No OneTemporary

File Metadata

Created
Wed, Aug 28, 15:30

PhabricatorDaemonManagementStartWorkflow.php

<?php
final class PhabricatorDaemonManagementStartWorkflow
extends PhabricatorDaemonManagementWorkflow {
protected function didConstruct() {
$this
->setName('start')
->setSynopsis(
pht(
'Start the standard configured collection of Phabricator daemons. '.
'This is appropriate for most installs. Use **phd launch** to '.
'customize which daemons are launched.'))
->setArguments(
array(
array(
'name' => 'keep-leases',
'help' => pht(
'By default, **phd start** will free all task leases held by '.
'the daemons. With this flag, this step will be skipped.'),
),
array(
'name' => 'force',
'help' => pht(
'Start daemons even if daemons are already running.'),
),
));
}
public function execute(PhutilArgumentParser $args) {
return $this->executeStartCommand(
$args->getArg('keep-leases'),
$args->getArg('force'));
}
}

Event Timeline