service module

The module that starts, stops, restarts or reloads a background service on a host and sets whether it starts at boot.

In more detail

state: started makes sure the service is running now, and enabled: true makes it start after a reboot. It works with the host's service manager, such as systemd. Handlers commonly call it to reload a service after its configuration changes.

Related terms

Taught in

References

Certification courses