salt.modules.openbsdservice

The service module for OpenBSD

salt.modules.openbsdservice.restart(name, **kwargs)

Restart the named service

CLI Example:

salt '*' service.restart <service name>
salt.modules.openbsdservice.start(name)

Start the specified service

CLI Example:

salt '*' service.start <service name>
salt.modules.openbsdservice.status(name, sig=None)

Return the status for a service, returns a bool whether the service is running.

CLI Example:

salt '*' service.status <service name>
salt.modules.openbsdservice.stop(name)

Stop the specified service

CLI Example:

salt '*' service.stop <service name>

Previous topic

salt.modules.openbsdpkg

Next topic

salt.modules.osxdesktop