Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F547203
PhabricatorDaemonManagementStartWorkflow.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
PhabricatorDaemonManagementStartWorkflow.php
View Options
<?php
final
class
PhabricatorDaemonManagementStartWorkflow
extends
PhabricatorDaemonManagementWorkflow
{
protected
function
didConstruct
()
{
$this
->
setName
(
'start'
)
->
setSynopsis
(
pht
(
'Start the standard configured collection of daemons. '
.
'This is appropriate for most installs. Use **%s** to '
.
'customize which daemons are launched.'
,
'phd launch'
))
->
setArguments
(
array
(
array
(
'name'
=>
'keep-leases'
,
'help'
=>
pht
(
'By default, **%s** will free all task leases held by '
.
'the daemons. With this flag, this step will be skipped.'
,
'phd start'
),
),
array
(
'name'
=>
'force'
,
'help'
=>
pht
(
'Start daemons even if daemons are already running.'
),
),
$this
->
getAutoscaleReserveArgument
(),
));
}
public
function
execute
(
PhutilArgumentParser
$args
)
{
return
$this
->
executeStartCommand
(
array
(
'keep-leases'
=>
$args
->
getArg
(
'keep-leases'
),
'force'
=>
$args
->
getArg
(
'force'
),
'reserve'
=>
(
float
)
$args
->
getArg
(
'autoscale-reserve'
),
));
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 1:28 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
121633
Default Alt Text
PhabricatorDaemonManagementStartWorkflow.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment