init-service-stopped

Example:

# Stop the 'apache2' service.
- init-service-stopped:
    name: apache2

Description

Make sure an init service is stopped.

Variables

Name Type Default Description

name

string --

The name of the service. Required

Examples

Example 1

Stop the 'apache2' service.

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

This doesn't enable the 'apache2' service if it is currently enabled.

Command-line

frecklecute init-service-stopped --help

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

  Make sure an init service is stopped.

Options:
  --help  Show this message and exit.