mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
if deb fam, stop salt-master and salt-minion after salt upgrade
This commit is contained in:
@@ -871,10 +871,8 @@ main() {
|
|||||||
# * WARN: Not starting daemons on Debian based distributions
|
# * WARN: Not starting daemons on Debian based distributions
|
||||||
# is not working mostly because starting them is the default behaviour.
|
# is not working mostly because starting them is the default behaviour.
|
||||||
if [[ $is_deb ]]; then
|
if [[ $is_deb ]]; then
|
||||||
systemctl status salt-master
|
|
||||||
systemctl status salt-minion
|
|
||||||
stop_salt_master
|
|
||||||
stop_salt_minion
|
stop_salt_minion
|
||||||
|
stop_salt_master
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user