svg
This commit is contained in:
parent
9cd1409df3
commit
a918b46e6c
23
nine.sh
23
nine.sh
|
@ -93,7 +93,7 @@ wait_for_container() {
|
||||||
}
|
}
|
||||||
|
|
||||||
upservice(){
|
upservice(){
|
||||||
docker-compose up -d $1 --remove-orphans
|
docker-compose up -d --remove-orphans $1
|
||||||
if [[ $2 == "wait" ]]
|
if [[ $2 == "wait" ]]
|
||||||
then
|
then
|
||||||
wait_for_container $1
|
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 =====================================================================================================================================
|
#== UP =====================================================================================================================================
|
||||||
#===========================================================================================================================================
|
#===========================================================================================================================================
|
||||||
|
|
Loading…
Reference in New Issue