mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Support Arch stable which is now using systemd. Refs #21.
This commit is contained in:
parent
a64e12be0c
commit
c9fa4d46d2
1 changed files with 8 additions and 1 deletions
|
@ -807,7 +807,14 @@ install_arch_git() {
|
|||
}
|
||||
|
||||
install_arch_post() {
|
||||
/etc/rc.d/salt-minion start
|
||||
if [ -f /usr/bin/systemctl ]; then
|
||||
# Using systemd
|
||||
systemctl daemon-reload
|
||||
sleep 0.2
|
||||
systemctl restart salt-minion.service
|
||||
else
|
||||
/etc/rc.d/salt-minion start
|
||||
fi
|
||||
}
|
||||
#
|
||||
# Ended Arch Install Functions
|
||||
|
|
Loading…
Add table
Reference in a new issue