mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 09:29:52 +03:00
Workaround for when vpnserver hangs on stop.
This commit is contained in:
parent
8fe51b74cf
commit
a67b4e30b6
@ -40,7 +40,7 @@ start() {
|
||||
|
||||
stop() {
|
||||
echo -n $"Stopping $prog: "
|
||||
$exec stop
|
||||
/usr/bin/timeout 30 $exec stop || /usr/bin/killall -q -9 $prog
|
||||
retval=$?
|
||||
echo
|
||||
[ $retval -eq 0 ] && rm -f $lockfile
|
||||
|
Loading…
Reference in New Issue
Block a user