mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-05 00:00:45 -04:00
ipsec: Wait longer for starter to quit before killing it.
As starter waits up to 10 seconds for either daemon to quit, killing it already after 5 seconds is too early.
This commit is contained in:
parent
ae9d5e7ce1
commit
608657519a
@ -326,7 +326,7 @@ stop)
|
||||
if [ -n "$spid" ]
|
||||
then
|
||||
kill $spid 2>/dev/null
|
||||
loop=5
|
||||
loop=11
|
||||
while [ $loop -gt 0 ] ; do
|
||||
kill -0 $spid 2>/dev/null || break
|
||||
sleep 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user