Update mm-scripts.sh
This commit is contained in:
@@ -328,8 +328,8 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
|
|||||||
sleep 5s
|
sleep 5s
|
||||||
fi
|
fi
|
||||||
checkport=$(lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t)
|
checkport=$(lsof -Pi :${MM_SERVICE_PORTS[${srvc}]} -sTCP:LISTEN -t)
|
||||||
if [ "${checkport}" == "" ] && [ -f /opt/${srvc}-update.sh ]; then
|
if [ "${checkport}" == "" ] && [ "${MM_UPDATE_REPO[${srvc}]}" != "" ; then
|
||||||
/opt/${srvc}-update.sh
|
UPDATESERVICE {$srvc} >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user