Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79857154
PhabricatorDaemonManagementStartWorkflow.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Aug 28, 15:30
Size
1 KB
Mime Type
text/x-php
Expires
Fri, Aug 30, 15:30 (2 d)
Engine
blob
Format
Raw Data
Handle
20243841
Attached To
rPH Phabricator
PhabricatorDaemonManagementStartWorkflow.php
View Options
<?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
Log In to Comment