Provide the service module for systemd
Members
Disable the named service to not start when the system boots
CLI Example:
salt '*' service.disable <service name>
Return if the named service is disabled to start on boot
CLI Example:
salt '*' service.disabled <service name>
Enable the named service to start when the system boots
CLI Example:
salt '*' service.enable <service name>
Return if the named service is enabled to start on boot
CLI Example:
salt '*' service.enabled <service name>
Return a list of all available services
CLI Example:
salt '*' service.get_all
Return a list of all disabled services
CLI Example:
salt '*' service.get_disabled
Return a list of all enabled services
CLI Example:
salt '*' service.get_enabled
Reload the specified service with systemd
CLI Example:
salt '*' service.reload <service name>
Restart the specified service with systemd
CLI Example:
salt '*' service.restart <service name>
Start the specified service with systemd
CLI Example:
salt '*' service.start <service name>