Subclass of CIM_Service
Class representing Linux Service
None
uint32 ReloadOrRestartService ()
Reload the service if it supports it. If not, restart the service instead. If the service is not running yet, it will be started.
Parameters
uint32 ReloadService ()
Reload configuration of the service.
Parameters
uint32 StopService ()
Stop (deactivate) the service.
Parameters
uint32 TurnServiceOn ()
Enable the service persistently. The service will start on the next boot of the system. Note that this method does not have the effect of also starting the service being enabled. If this is desired, a separate StartService method call must be invoked for the service.
Parameters
uint32 TurnServiceOff ()
Disable the service. The service will not start on the next boot of the system. Note that this method does not implicitly stop the service that is being disabled. If this is desired, an additional StopService method call command should be executed afterwards.
Parameters
uint32 TryRestartService ()
Restart the service if the service is running. This does nothing if the service is not running.
Parameters
uint32 ReloadOrTryRestartService ()
Reload the service if it supports it. If not, restart the service instead. This does nothing if the service is not running.
Parameters
uint32 StartService ()
Start (activate) the service.
Parameters
uint32 CondRestartService ()
Equivalent to the TryRestartService() method.
Parameters
uint32 RestartService ()
Restart the service. If the service is not running yet, it will be started.
Parameters
None