Add: post-backup hook Renamed:setup cms-handeler
Added funtion for runing script after Backup Renamed bck-util cms-handeler to CMSHook-conf for future compatibility
This commit is contained in:
2
conf.sh
2
conf.sh
@@ -42,4 +42,4 @@ fi
|
||||
if [ -z ${db_suffix+x} ]; then db_suffix=`expr $(ls -l /var/www | grep -c ^d) - 1`;fi
|
||||
curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/config/Motd/51-bckupnotice -o /etc/update-motd.d/51-bckupnotice
|
||||
chmod +x /etc/update-motd.d/51-bckupnotice
|
||||
source <(curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/cms-handeler.sh)
|
||||
source <(curl --retry 7 --retry-delay 5 -s "$mrepo"/raw/branch/"$mbranch"/CMSHook-conf.sh)
|
||||
|
||||
Reference in New Issue
Block a user