mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Check systemctl binary before calling it
This commit is contained in:
parent
9804cab90e
commit
5ac22b653e
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
adduser --system salt --group
|
||||
chown -R salt:salt /etc/salt /var/log/salt /opt/saltstack/salt/ /var/cache/salt/ /var/run/salt
|
||||
systemctl enable salt-master
|
||||
if command -v systemctl; then systemctl enable salt-master; fi
|
||||
|
|
Loading…
Add table
Reference in a new issue