mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 03:02:58 +01:00
[reafactor] systemctl stop -> kill
This commit is contained in:
@@ -1400,7 +1400,7 @@ reinstall_init() {
|
||||
# Kill any salt processes (safely)
|
||||
for service in "${salt_services[@]}"; do
|
||||
# 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 count=0
|
||||
|
||||
Reference in New Issue
Block a user