mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Debian Service function alias
This commit is contained in:
parent
cf14875e8f
commit
e7dd6d8187
@ -10,6 +10,9 @@ import re
|
||||
# Import salt libs
|
||||
from .systemd import _sd_booted
|
||||
|
||||
__func_alias__ = {
|
||||
'reload_': 'reload'
|
||||
}
|
||||
|
||||
def __virtual__():
|
||||
'''
|
||||
@ -108,7 +111,7 @@ def restart(name, **kwargs):
|
||||
return not __salt__['cmd.retcode'](cmd)
|
||||
|
||||
|
||||
def reload(name):
|
||||
def reload_(name):
|
||||
'''
|
||||
Reload the named service
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user