Class: IControl::System::Services::ServiceAction

Inherits:
Base::Enumeration
  • Object
show all
Defined in:
lib/icontrol/system/services.rb,
lib/icontrol/system/services.rb

Overview

An enumeration for different service actions.

Constant Summary collapse

SERVICE_ACTION_START =

Start a service.

:SERVICE_ACTION_START
SERVICE_ACTION_STOP =

Stop a service.

:SERVICE_ACTION_STOP
SERVICE_ACTION_REINIT =

Reinitialize a service.

:SERVICE_ACTION_REINIT
SERVICE_ACTION_RESTART =

Restart a service by stopping and starting the service

:SERVICE_ACTION_RESTART
SERVICE_ACTION_ADD_TO_BOOT_LIST =

Add a service to the boot/reboot list. If on this list, the service will be started on bootup and stopped on reboot.

:SERVICE_ACTION_ADD_TO_BOOT_LIST
SERVICE_ACTION_REMOVE_FROM_BOOT_LIST =

Remove a service from the boot/reboot list. If on this list, the service will be started on bootup and stopped on reboot.

:SERVICE_ACTION_REMOVE_FROM_BOOT_LIST
SERVICE_ACTION_ADD_TO_DEFAULT_LIST =

Add a service to the default action list.

:SERVICE_ACTION_ADD_TO_DEFAULT_LIST
SERVICE_ACTION_REMOVE_FROM_DEFAULT_LIST =

Remove a service from the default action list.

:SERVICE_ACTION_REMOVE_FROM_DEFAULT_LIST