This commit is contained in:
2019-01-27 22:31:51 -06:00
parent 7beef2532d
commit 2d029e6b93
2 changed files with 8 additions and 9 deletions

9
run.sh
View File

@@ -2,7 +2,14 @@
# NodeMgmt Loader
source /opt/idssys/nodemgmt/settings.conf
#echo ""
echo ""
echo -e "${idsCL[Yellow} NodeMgmt - Galera/NGINX Node Management${idsCL[Default]} ${idsCL[DarkGray]}(ver-${VERS})${idsCL[Default]}"
echo -e "${idsCL[Yellow}-------------------------------------------------------------${idsCL[Default]}"
echo -e "Node hostname: ${node_hostname}"
echo -e "${idsCL[Yellow}-------------------------------------------------------------${idsCL[Default]}"
echo ""
if [ "$1" != "service1111" ]; then
cd /opt/idssys/defaults
if [ "`git log --pretty=%H ...refs/heads/master^ | head -n 1`" != "`git ls-remote origin -h refs/heads/master |cut -f1`" ]; then