mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Make sure that initctl reload-configuration
is called after installing upstart file
This commit is contained in:
parent
e92a81fbe9
commit
e7c5239c8c
1 changed files with 1 additions and 0 deletions
|
@ -1979,6 +1979,7 @@ install_ubuntu_git_post() {
|
|||
echowarn "Upstart does not appear to know about salt-$fname"
|
||||
echodebug "Copying ${__SALT_GIT_CHECKOUT_DIR}/pkg/salt-$fname.upstart to $_upstart_conf"
|
||||
copyfile "${__SALT_GIT_CHECKOUT_DIR}/pkg/salt-${fname}.upstart" $_upstart_conf
|
||||
/sbin/initctl reload-configuration
|
||||
fi
|
||||
# No upstart support in Ubuntu!?
|
||||
elif [ -f "${__SALT_GIT_CHECKOUT_DIR}/debian/salt-${fname}.init" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue