Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96569767
PhabricatorDaemonManagementReloadWorkflow.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
Sat, Dec 28, 07:00
Size
731 B
Mime Type
text/x-php
Expires
Mon, Dec 30, 07:00 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
23172096
Attached To
rPH Phabricator
PhabricatorDaemonManagementReloadWorkflow.php
View Options
<?php
final
class
PhabricatorDaemonManagementReloadWorkflow
extends
PhabricatorDaemonManagementWorkflow
{
protected
function
didConstruct
()
{
$this
->
setName
(
'reload'
)
->
setSynopsis
(
pht
(
'Gracefully restart daemon processes in-place to pick up changes '
.
'to source. This will not disrupt running jobs. This is an '
.
'advanced workflow; most installs should use __%s__.'
,
'phd restart'
))
->
setArguments
(
array
(
array
(
'name'
=>
'pids'
,
'wildcard'
=>
true
,
),
));
}
public
function
execute
(
PhutilArgumentParser
$args
)
{
return
$this
->
executeReloadCommand
(
$args
->
getArg
(
'pids'
));
}
}
Event Timeline
Log In to Comment