init-service-enabled

Example:

# Enable the 'apache2' service.
- init-service-enabled:
    name: apache2

Description

Make sure an init service is enabled.

Variables

Name Type Default Description

name

string --

The name of the service. Required

Examples

Example 1

Enable the 'apache2' service.

Code
- init-service-enabled:
    name: apache2
Description

This doesn't start the service if it is not currently running.

Command-line

frecklecute init-service-enabled --help

Usage: frecklecute init-service-enabled [OPTIONS] SERVICE_NAME

  Make sure an init service is enabled.

Options:
  --help  Show this message and exit.