nodemgmt folder change

This commit is contained in:
2019-01-27 15:09:11 -06:00
parent 3d58228e5f
commit 88260d1c85
2 changed files with 5 additions and 4 deletions

View File

@@ -2,8 +2,9 @@
# MySQL-BU - MySQL Backup Scripts
action="$1"
FOLDER='/opt/mysqlbu'
VERS='1.01072019'
FOLDER='/opt/nodemgmt'
VERS='1.01272019'
CERT_DAEMON='/usr/bin/certbot'
source /opt/mysqlbu/settings.conf
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/colors.inc)"

4
run.sh
View File

@@ -1,8 +1,8 @@
#!/usr/bin/env bash
# MySQL-BU Loader
source /opt/NodeMgmt/settings.conf
cd /opt/NodeMgmt
source /opt/nodemgmt/settings.conf
cd /opt/nodemgmt
#echo ""
if [ "$1" != "backup" ]; then
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then