1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-09-13 07:13: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() {
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