1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-18 01:33:00 +03:00

Workaround for when vpnserver hangs on stop.

This commit is contained in:
Dexter Ang 2014-03-03 15:54:21 +08:00
parent 8fe51b74cf
commit a67b4e30b6

View File

@ -40,7 +40,7 @@ start() {
stop() { stop() {
echo -n $"Stopping $prog: " echo -n $"Stopping $prog: "
$exec stop /usr/bin/timeout 30 $exec stop || /usr/bin/killall -q -9 $prog
retval=$? retval=$?
echo echo
[ $retval -eq 0 ] && rm -f $lockfile [ $retval -eq 0 ] && rm -f $lockfile