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>
Returns True
if the specified service is available, otherwise returns
False
.
CLI Example:
salt '*' s6.available foo
Calls s6.restart() function
CLI Example:
salt '*' s6.full_restart <service name>
Return a list of all available services
CLI Example:
salt '*' s6.get_all
The inverse of s6.available.
Returns True
if the specified service is not available, otherwise returns
False
.
CLI Example:
salt '*' s6.missing foo
Send a HUP to service via s6
CLI Example:
salt '*' s6.reload <service name>
Restart service via s6. This will stop/start service
CLI Example:
salt '*' s6.restart <service name>
Starts service via s6
CLI Example:
salt '*' s6.start <service name>
Return the status for a service via s6, return pid if running
CLI Example:
salt '*' s6.status <service name>
Stops service via s6
CLI Example:
salt '*' s6.stop <service name>
Send a TERM to service via s6
CLI Example:
salt '*' s6.term <service name>
Generated on April 30, 2024 at 17:51:03 UTC.
You are viewing docs for the latest stable release, 3007.0. Switch to docs for the previous stable release, 3006.8, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy