This commit is contained in:
afornerot 2024-07-25 15:52:37 +02:00
parent 9cd1409df3
commit a918b46e6c
1 changed files with 1 additions and 22 deletions

23
nine.sh
View File

@ -93,7 +93,7 @@ wait_for_container() {
}
upservice(){
docker-compose up -d $1 --remove-orphans
docker-compose up -d --remove-orphans $1
if [[ $2 == "wait" ]]
then
wait_for_container $1
@ -172,27 +172,6 @@ function upnineboard {
}
function upnineskeletor {
if [[ $NINESKELETOR_ACTIVATE == 1 && $NINESKELETOR_LOCAL == 1 ]]
then
Title ${NINESKELETOR_SERVICE_NAME^^}
if [[ $MARIADB_ACTIVATE == 1 && $MARIADB_LOCAL == 1 ]]
then
EchoVert "DATABASE"
Echo ${NINESKELETOR_SERVICE_NAME^^}
docker-compose exec $MARIADB_SERVICE_NAME /nine/init.sh $NINESKELETOR_SERVICE_NAME
Echo
fi
EchoVert "CONTAINER"
upservice ${NINESKELETOR_SERVICE_NAME}
chmod -R a+wr ./volume/nineskeletor/data
Echo
fi
}
#===========================================================================================================================================
#== UP =====================================================================================================================================
#===========================================================================================================================================