@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at recaptime-dev/main 41 lines 1.2 kB view raw
1<?php 2 3final class PhabricatorDaemonManagementStartWorkflow 4 extends PhabricatorDaemonManagementWorkflow { 5 6 protected function didConstruct() { 7 $this 8 ->setName('start') 9 ->setSynopsis( 10 pht( 11 'Start the standard configured collection of daemons. '. 12 'This is appropriate for most installs. Use **%s** to '. 13 'customize which daemons are launched.', 14 'phd launch')) 15 ->setArguments( 16 array( 17 array( 18 'name' => 'keep-leases', 19 'help' => pht( 20 'By default, **%s** will free all task leases held by '. 21 'the daemons. With this flag, this step will be skipped.', 22 'phd start'), 23 ), 24 array( 25 'name' => 'force', 26 'help' => pht('Start daemons even if daemons are already running.'), 27 ), 28 $this->getAutoscaleReserveArgument(), 29 )); 30 } 31 32 public function execute(PhutilArgumentParser $args) { 33 return $this->executeStartCommand( 34 array( 35 'keep-leases' => $args->getArg('keep-leases'), 36 'force' => $args->getArg('force'), 37 'reserve' => (float)$args->getArg('autoscale-reserve'), 38 )); 39 } 40 41}