[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/daemon/management/ -> PhabricatorDaemonManagementStartWorkflow.php (source)

   1  <?php
   2  
   3  final class PhabricatorDaemonManagementStartWorkflow
   4    extends PhabricatorDaemonManagementWorkflow {
   5  
   6    public function didConstruct() {
   7      $this
   8        ->setName('start')
   9        ->setSynopsis(
  10          pht(
  11            'Start the standard configured collection of Phabricator daemons. '.
  12            'This is appropriate for most installs. Use **phd launch** to '.
  13            'customize which daemons are launched.'))
  14        ->setArguments(
  15          array(
  16            array(
  17              'name' => 'keep-leases',
  18              'help' => pht(
  19                'By default, **phd start** will free all task leases held by '.
  20                'the daemons. With this flag, this step will be skipped.'),
  21            ),
  22          ));
  23    }
  24  
  25    public function execute(PhutilArgumentParser $args) {
  26      return $this->executeStartCommand($args->getArg('keep-leases'));
  27    }
  28  
  29  }


Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1