mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
states.service: clarify function description language
This commit is contained in:
parent
6a9ae09e79
commit
29c00a1b1b
@ -278,7 +278,7 @@ def _available(name, ret):
|
||||
|
||||
def running(name, enable=None, sig=None, init_delay=None, **kwargs):
|
||||
'''
|
||||
Verify that the service is running
|
||||
Ensure that the service is running
|
||||
|
||||
name
|
||||
The name of the init or rc script used to manage the service
|
||||
@ -446,7 +446,7 @@ def dead(name, enable=None, sig=None, **kwargs):
|
||||
|
||||
def enabled(name, **kwargs):
|
||||
'''
|
||||
Verify that the service is enabled on boot, only use this state if you
|
||||
Ensure that the service is enabled on boot, only use this state if you
|
||||
don't want to manage the running process, remember that if you want to
|
||||
enable a running service to use the enable: True option for the running
|
||||
or dead function.
|
||||
@ -465,7 +465,7 @@ def enabled(name, **kwargs):
|
||||
|
||||
def disabled(name, **kwargs):
|
||||
'''
|
||||
Verify that the service is disabled on boot, only use this state if you
|
||||
Ensure that the service is disabled on boot, only use this state if you
|
||||
don't want to manage the running process, remember that if you want to
|
||||
disable a service to use the enable: False option for the running or dead
|
||||
function.
|
||||
|
Loading…
Reference in New Issue
Block a user