if deb fam, stop salt-master and salt-minion after salt upgrade

This commit is contained in:
m0duspwnens
2023-10-24 13:24:52 -04:00
parent 6d3465626e
commit 180ba3a958

View File

@@ -871,10 +871,8 @@ main() {
# * WARN: Not starting daemons on Debian based distributions
# is not working mostly because starting them is the default behaviour.
if [[ $is_deb ]]; then
systemctl status salt-master
systemctl status salt-minion
stop_salt_master
stop_salt_minion
stop_salt_master
fi
fi