This commit is contained in:
2024-07-15 23:34:06 -05:00
parent f6833ccb39
commit cb806f3db6
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='5.1.121-06282024'
VERS='5.1.122-07152024'
NM_BETA=false
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck offsite-staticroute-fix '

View File

@@ -1225,10 +1225,10 @@ GUI(){
checkcerts) CHECK-CERTS ${2} ${3} ${4} ${5} ${6};;
nightlyrenew)
if [ "${2}" == "q" ]; then
exec 3>&1 >>${NM_LOGFOLDER}/cert-renewal.lastrun 2>&1
echo "$(date +%Y-%m-%d-%H-%M-%S) #### Nightly Cert Renewal check Initiated ####"
mv -f ${NM_LOGFOLDER}/cert-renewal1.lastrun ${NM_LOGFOLDER}/cert-renewal2.lastrun
mv -f ${NM_LOGFOLDER}/cert-renewal.lastrun ${NM_LOGFOLDER}/cert-renewal1.lastrun
exec 3>&1 >>${NM_LOGFOLDER}/cert-renewal.lastrun 2>&1
echo "$(date +%Y-%m-%d-%H-%M-%S) #### Nightly Cert Renewal check Initiated ####"
${NM_SCRIPT} nightlyrenew report
echo -e "\n$(date +%Y-%m-%d-%H-%M-%S)"
else