Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F110057200
PhabricatorAphlictManagementRestartWorkflow.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
Thu, Apr 24, 12:46
Size
507 B
Mime Type
text/x-php
Expires
Sat, Apr 26, 12:46 (2 d)
Engine
blob
Format
Raw Data
Handle
25715200
Attached To
rPH Phabricator
PhabricatorAphlictManagementRestartWorkflow.php
View Options
<?php
final
class
PhabricatorAphlictManagementRestartWorkflow
extends
PhabricatorAphlictManagementWorkflow
{
protected
function
didConstruct
()
{
parent
::
didConstruct
();
$this
->
setName
(
'restart'
)
->
setSynopsis
(
pht
(
'Stop, then start the notifications server.'
));
}
public
function
execute
(
PhutilArgumentParser
$args
)
{
parent
::
execute
(
$args
);
$err
=
$this
->
executeStopCommand
();
if
(
$err
)
{
return
$err
;
}
return
$this
->
executeStartCommand
();
}
}
Event Timeline
Log In to Comment