mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +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 ""
|
||||||
echo "Killing all Salt jobs across the grid."
|
echo "Killing all Salt jobs across the grid."
|
||||||
salt \* saltutil.kill_all_jobs
|
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
|
set -e
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user