Make sure that initctl reload-configuration is called after installing upstart file

This commit is contained in:
Pedro Algarvio 2015-09-04 17:24:42 +01:00
parent e92a81fbe9
commit e7c5239c8c

View file

@ -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