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