Update mm-scripts.sh
This commit is contained in:
@@ -160,7 +160,7 @@ MMSTART(){
|
||||
fi
|
||||
if [ "${1}" == "start" ] || [ -f /opt/mm.vpn.fail* ]; then
|
||||
echo "$(date) - Media services have been restarted" >> $logfile
|
||||
if [ "${1}" != "start" ] && [ -f /opt/mm.vpn.fail* ]; then
|
||||
elif [ "${1}" != "start" ] && [ -f /opt/mm.vpn.fail* ]; then
|
||||
[ $SENDNOTICE = true ] && echo "Media services have been restarted" | mail -s "Services Restored" 9208839613@mms.att.net
|
||||
fi
|
||||
rm -f /opt/mm.stop
|
||||
|
||||
Reference in New Issue
Block a user