This commit is contained in:
2025-03-13 20:40:15 -05:00
parent d67238c845
commit 8a15a81ce3
2 changed files with 29 additions and 27 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERS='2.8.26-03102025' VERS='2.8.27-03132025'
noheader=' update service dailytemp confsync -r -report test ' noheader=' update service dailytemp confsync -r -report test '

View File

@@ -706,6 +706,7 @@ ISCSIALLSHUTDOWN(){
} }
LOGROTATE(){ LOGROTATE(){
if [ -f ${NM_TMPFOLDER}/.singleserver.PW.primary ] || [ -f ${NM_TMPFOLDER}/.singleserver.PWO.primary ]; then
STOPALL_SERVICES STOPALL_SERVICES
lm=`expr $(date +'%m') - 1` lm=`expr $(date +'%m') - 1`
if [ ${lm} = 0 ]; then if [ ${lm} = 0 ]; then
@@ -733,6 +734,7 @@ LOGROTATE(){
done; done;
[ ${keep} == 0 ] && rm -Rf ${folder} [ ${keep} == 0 ] && rm -Rf ${folder}
done done
fi
} }
GET_SNAPSHOTS(){ GET_SNAPSHOTS(){