This commit is contained in:
2019-01-30 01:13:24 -06:00
parent 82fd6a8132
commit 7ddea325a5
3 changed files with 9 additions and 3 deletions

View File

@@ -22,7 +22,9 @@ if [ ! -d "/opt/idssys/defaults" ]; then
do_with_root git clone git@git.schroedercity.com:voltron/iDS-Defaults.git /opt/idssys/defaults
fi
mkdir /opt/idssys/settings
if [ ! -d "/opt/idssys/settings" ]; then
do_with_root mkdir /opt/idssys/settings
fi
echo -e "useAutoremove=1
opennms=false" > /opt/idssys/settings/linupx.conf

View File

@@ -17,7 +17,9 @@ do_with_root curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup |
do_with_root $APTFUNC -y install wget curl git mariadb-backup
do_with_root set -eu
do_with_root mkdir /opt/idssys/settings
if [ ! -d "/opt/idssys/settings" ]; then
do_with_root mkdir /opt/idssys/settings
fi
do_with_root git clon https://git.schroedercity.com/voltron/MySQL-BU.git /opt/idssys/mysqlbu
do_with_root ln -s /opt/idssys/mysqlbu/run.sh /usr/local/bin/mysqlbu
echo -e "BACKUP_PATH='/var/lib/mysql-backups/'

View File

@@ -22,7 +22,9 @@ if [ ! -d "/opt/idssys/defaults" ]; then
do_with_root git clone git@git.schroedercity.com:voltron/iDS-Defaults.git /opt/idssys/defaults
fi
mkdir /opt/idssys/settings
if [ ! -d "/opt/idssys/settings" ]; then
do_with_root mkdir /opt/idssys/settings
fi
echo -e "NODE_HOSTNAME=\"$(hostname)\"
#LOCAL_SERVICES=mysql,nginx,gitea,haproxy,keepalived,maxscale
#STATUS_CHECK_EMAIL=someone@somewhere.com