operator standalone fix and adding example db.sql

This commit is contained in:
ragu 2022-11-17 20:36:53 +01:00
parent 5b32d2b7f5
commit 941f8a04aa
17 changed files with 44 additions and 96 deletions

View file

@ -33,54 +33,3 @@ for i in $(find . -type d -and -name cronjobs); do chmod -R o+r $i/*;done
for i in $(find . -type d -and -name cronjobs); do chown -R root:root $i/*;done
live_sharee="ginger"
echo "You are on Server with hostname: $(hostname)";
echo "on main gitlab sourcen there is no live config";
#sharee
echo "KEEP in mind, SHAREE autoLinking is only done if $(hostname) == ${live_sharee}";
if [[ $(hostname) == ${live_sharee} ]]
then
#shareedms-operator
echo "";
for i in $(find . -type l -and -name shareedms-operator.conf); do rm $i;done
for i in $(find . -type f -and -name shareedms-operator_live.conf)
do (
echo $(dirname $(realpath $i));
cd $(dirname $(realpath $i));
ln -s $(basename $i) shareedms-operator.conf;
ls -al
)
done
#shareeapp-operator
echo "";
for i in $(find . -type l -and -name shareeapp-operator.conf); do rm $i;done
for i in $(find . -type f -and -name shareeapp-operator_live.conf)
do (
echo $(dirname $(realpath $i));
cd $(dirname $(realpath $i));
ln -s $(basename $i) shareeapp-operator.conf;
ls -al
)
done
#shareeweb-project
echo "";
for i in $(find . -type l -and -name shareeweb-project.conf); do rm $i;done
for i in $(find . -type f -and -name shareeweb-project_live.conf)
do (
echo $(dirname $(realpath $i));
cd $(dirname $(realpath $i));
ln -s $(basename $i) shareeweb-project.conf;
ls -al
)
done
fi