stop
Service
Method used to stop a service
Return
the result of the command
Parameters
service
The service to stop
Throws
when an exception occurred during the process
Method used to stop a service
Return
the result of the command
Parameters
service
The service to stop
closeSession
Whether close the current bash session (like Runtime or SSH if remote host)
Throws
when an exception occurred during the process