This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Services.
Summary
Restarts a named service
Syntax
public static bool RestartService(this ICakeContext context, string name)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The cake context. |
name |
string |
The name that identifies the service to the system. |
Return Value
Type |
Description |
bool |
If the service was restarted. |