Update mm-scripts.sh
This commit is contained in:
@@ -146,11 +146,11 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
|
|||||||
rm -f ${MMFOLDER}/mm.vpn.fail
|
rm -f ${MMFOLDER}/mm.vpn.fail
|
||||||
MMSTOP
|
MMSTOP
|
||||||
sleep 5m
|
sleep 5m
|
||||||
# "${VPN_START[@]}" >/dev/null 2>&1
|
"${VPN_START[@]}" >/dev/null 2>&1
|
||||||
# sleep 10s
|
sleep 10s
|
||||||
rm -f ${MMFOLDER}/mm.stop*
|
# rm -f ${MMFOLDER}/mm.stop*
|
||||||
[ $VERBOSE = true ] && DEBUGLOGSTOP
|
# [ $VERBOSE = true ] && DEBUGLOGSTOP
|
||||||
exit 1
|
# exit 1
|
||||||
elif [ -f ${MMFOLDER}/mm.vpn.fail2 ]; then
|
elif [ -f ${MMFOLDER}/mm.vpn.fail2 ]; then
|
||||||
echo "$(date) - VPN Failure #3 - Shutting down Media Management systems" >> $logfile
|
echo "$(date) - VPN Failure #3 - Shutting down Media Management systems" >> $logfile
|
||||||
SENDNOTICE "VPN Failure" "Final Failure, shutting down system" 2
|
SENDNOTICE "VPN Failure" "Final Failure, shutting down system" 2
|
||||||
|
|||||||
Reference in New Issue
Block a user