mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 11:12:51 +01:00
[reafactor] systemctl stop -> kill
This commit is contained in:
@@ -1400,7 +1400,7 @@ reinstall_init() {
|
|||||||
# Kill any salt processes (safely)
|
# Kill any salt processes (safely)
|
||||||
for service in "${salt_services[@]}"; do
|
for service in "${salt_services[@]}"; do
|
||||||
# Stop the service in the background so we can exit after a certain amount of time
|
# Stop the service in the background so we can exit after a certain amount of time
|
||||||
systemctl stop "$service" &
|
systemctl kill "$service" &
|
||||||
local pid=$!
|
local pid=$!
|
||||||
|
|
||||||
local count=0
|
local count=0
|
||||||
|
|||||||
Reference in New Issue
Block a user