This commit is contained in:
2023-07-09 19:51:46 -05:00
parent 321e21ff0d
commit 0aaba79118
2 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
VERS='3.9.12-07092023'
VERS='3.9.20-07092023'
MMFOLDER="/opt/idssys/mediamanager"
TMPFOLDER="${MMFOLDER}/.tmp"

View File

@@ -1093,6 +1093,9 @@ SERVICEBACKUP(){
done
elif [ "${usrvc}" != "" ]; then
echo -e "${idsCL[Green]}Backing up ${usrvc^} Service${idsCL[Default]}"
DIVIDER . lightGreen
msg="Stopping Service "; c=0; spc=''; spc1=$((${cw_spc}-${#msg})); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
/bin/systemctl stop ${usrvc} >> ${LOGFOLDER}/update.${usrvc}