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
|
||||
MMSTOP
|
||||
sleep 5m
|
||||
# "${VPN_START[@]}" >/dev/null 2>&1
|
||||
# sleep 10s
|
||||
rm -f ${MMFOLDER}/mm.stop*
|
||||
[ $VERBOSE = true ] && DEBUGLOGSTOP
|
||||
exit 1
|
||||
"${VPN_START[@]}" >/dev/null 2>&1
|
||||
sleep 10s
|
||||
# rm -f ${MMFOLDER}/mm.stop*
|
||||
# [ $VERBOSE = true ] && DEBUGLOGSTOP
|
||||
# exit 1
|
||||
elif [ -f ${MMFOLDER}/mm.vpn.fail2 ]; then
|
||||
echo "$(date) - VPN Failure #3 - Shutting down Media Management systems" >> $logfile
|
||||
SENDNOTICE "VPN Failure" "Final Failure, shutting down system" 2
|
||||
|
||||
Reference in New Issue
Block a user