s6 service module
This module is compatible with the service
states,
so it can be used to maintain services using the provider
argument:
myservice:
service:
- running
- provider: s6
Note that the enabled
argument is not available with this provider.
Marek Skrobacki <skrobul@skrobul.com>
salt.modules.s6.
available
(name)Returns True
if the specified service is available, otherwise returns
False
.
CLI Example:
salt '*' s6.available foo
salt.modules.s6.
full_restart
(name)Calls s6.restart() function
CLI Example:
salt '*' s6.full_restart <service name>
salt.modules.s6.
missing
(name)The inverse of s6.available.
Returns True
if the specified service is not available, otherwise returns
False
.
CLI Example:
salt '*' s6.missing foo
salt.modules.s6.
reload_
(name)Send a HUP to service via s6
CLI Example:
salt '*' s6.reload <service name>
salt.modules.s6.
restart
(name)Restart service via s6. This will stop/start service
CLI Example:
salt '*' s6.restart <service name>
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy