mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
kill any possible queued salt jobs before stopping salt-master
This commit is contained in:
@@ -474,6 +474,9 @@ stop_salt_master() {
|
||||
echo ""
|
||||
echo "Killing all Salt jobs across the grid."
|
||||
salt \* saltutil.kill_all_jobs
|
||||
echo ""
|
||||
echo "Killing any queued Salt jobs on the manager."
|
||||
pkill -9 -ef "/usr/bin/python3 /bin/salt"
|
||||
set -e
|
||||
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user