back

service

Manage system services

Overview

  • This module manages the running of system services.

  • It can start, stop, restart and reload services.

  • It can configure a service to start on boot, or to not start on boot.

Form

(service command opts)

Arguments

command

The overall command to execute. Use :started, :stopped or :restarted

opts

A hashmap of options

Options

OptionDescription
:name
required true
type string

    The name of the service

Examples