This commit is contained in:
2023-07-10 19:05:30 -05:00
parent 4ab7364d09
commit 5d8cee296b
3 changed files with 51 additions and 46 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='3.9.28-07102023'
VERS='3.9.29-07102023'
MMFOLDER="/opt/idssys/mediamanager"
TMPFOLDER="${MMFOLDER}/.tmp"
@@ -17,7 +17,7 @@ MM_LOGFILE=${LOGFOLDER}/logfile
MM_OUTPUT_LOGFILE=${LOGFOLDER}/outputs.check.log
MM_BACKUP_FOLDER='/opt/!MM-Service-Backups'
[ -z ${MM_VPN_RESTART+x} ] && MM_VPN_RESTART=86400
([ -z ${MM_VPN_RESTART+x} ] || [ ${MM_VPN_RESTART+x} -gt 86400 ]) && MM_VPN_RESTART=86400
[ ! -f ${MM_LOGFILE} ] && touch ${MM_LOGFILE}
[ ! -f ${MM_OUTPUT_LOGFILE} ] && touch ${MM_OUTPUT_LOGFILE}