Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93086402
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
Tue, Nov 26, 02:51
Size
731 B
Mime Type
text/x-php
Expires
Thu, Nov 28, 02:51 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22546072
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