nodemgmt folder change
This commit is contained in:
@@ -2,8 +2,9 @@
|
|||||||
# MySQL-BU - MySQL Backup Scripts
|
# MySQL-BU - MySQL Backup Scripts
|
||||||
|
|
||||||
action="$1"
|
action="$1"
|
||||||
FOLDER='/opt/mysqlbu'
|
FOLDER='/opt/nodemgmt'
|
||||||
VERS='1.01072019'
|
VERS='1.01272019'
|
||||||
|
CERT_DAEMON='/usr/bin/certbot'
|
||||||
|
|
||||||
source /opt/mysqlbu/settings.conf
|
source /opt/mysqlbu/settings.conf
|
||||||
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/colors.inc)"
|
source /dev/stdin <<< "$(curl -sL https://git.schroedercity.com/voltron/Misc-Scripts/raw/master/colors.inc)"
|
||||||
|
|||||||
4
run.sh
4
run.sh
@@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# MySQL-BU Loader
|
# MySQL-BU Loader
|
||||||
|
|
||||||
source /opt/NodeMgmt/settings.conf
|
source /opt/nodemgmt/settings.conf
|
||||||
cd /opt/NodeMgmt
|
cd /opt/nodemgmt
|
||||||
#echo ""
|
#echo ""
|
||||||
if [ "$1" != "backup" ]; then
|
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
|
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user