feat: Restart salt-api after salt-master restart

This commit is contained in:
Carlos Álvaro
2022-10-05 17:46:07 +02:00
parent 0c229c2cf1
commit 76c09d296a

View File

@@ -13,7 +13,9 @@ function check_for_config_changes()
while check_for_config_changes; do
log_info "Configuration changes detected. Reloading salt-master ..."
supervisorctl stop salt-api
supervisorctl stop salt-master
killall salt-master; killall -9 salt-master
supervisorctl start salt-master
supervisorctl start salt-api
done