change pkill pattern

This commit is contained in:
Gerrit Gogel 2021-02-01 14:17:45 +01:00
parent e9771dcb83
commit 6c6f5ccbe1

View file

@ -26,9 +26,9 @@ function start_socat {
function stop_socat { function stop_socat {
echo "Stopping socat..." echo "Stopping socat..."
pkill -15 -f socat pkill -15 socat
sleep 5 sleep 5
pkill -9 -f socat pkill -9 socat
} }
function keep_running { function keep_running {