update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='3.9.12-07092023'
|
VERS='3.9.20-07092023'
|
||||||
|
|
||||||
MMFOLDER="/opt/idssys/mediamanager"
|
MMFOLDER="/opt/idssys/mediamanager"
|
||||||
TMPFOLDER="${MMFOLDER}/.tmp"
|
TMPFOLDER="${MMFOLDER}/.tmp"
|
||||||
|
|||||||
@@ -1093,6 +1093,9 @@ SERVICEBACKUP(){
|
|||||||
done
|
done
|
||||||
|
|
||||||
elif [ "${usrvc}" != "" ]; then
|
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
|
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]}"
|
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
|
||||||
/bin/systemctl stop ${usrvc} >> ${LOGFOLDER}/update.${usrvc}
|
/bin/systemctl stop ${usrvc} >> ${LOGFOLDER}/update.${usrvc}
|
||||||
|
|||||||
Reference in New Issue
Block a user