Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F73628470
PhabricatorDaemonManagementStopWorkflow.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, Jul 23, 07:22
Size
627 B
Mime Type
text/x-php
Expires
Thu, Jul 25, 07:22 (2 d)
Engine
blob
Format
Raw Data
Handle
19238253
Attached To
rPH Phabricator
PhabricatorDaemonManagementStopWorkflow.php
View Options
<?php
final
class
PhabricatorDaemonManagementStopWorkflow
extends
PhabricatorDaemonManagementWorkflow
{
public
function
didConstruct
()
{
$this
->
setName
(
'stop'
)
->
setSynopsis
(
pht
(
'Stop all running daemons, or specific daemons identified by PIDs. '
.
'Use **phd status** to find PIDs.'
))
->
setArguments
(
array
(
array
(
'name'
=>
'pids'
,
'wildcard'
=>
true
,
),
));
}
public
function
execute
(
PhutilArgumentParser
$args
)
{
$pids
=
$args
->
getArg
(
'pids'
);
return
$this
->
executeStopCommand
(
$pids
);
}
}
Event Timeline
Log In to Comment