Update mm-scripts.sh

This commit is contained in:
2023-03-26 20:18:25 -05:00
parent 1a6c94fcd1
commit 06e1892efe

View File

@@ -336,7 +336,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
if [ "${checkport}" != "" ]; then
checked=""
fi
if [ "${checked}" == "false" ] && [ ${cc} -eq 7 ]; then
if [ "${checked}" == "false" ] && [ ${cc} -eq 6 ]; then
echo -e "${idsCL[Red]}${srvc} Service is not starting properly, will try and update${idsCL[Default]}"
echo "$(date) - ${srvc} Service is not starting properly, will try and update" >> $logfile
SENDNOTICE "${srvc} Service Issue" "${srvc} Service is not starting properly, will try and update" 1