svg
This commit is contained in:
23
services/10-nineapache/misc/nine.sh
Normal file
23
services/10-nineapache/misc/nine.sh
Normal file
@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
function upnineapache {
|
||||
if [[ $NINEAPACHE_ACTIVATE == 1 && $NINEAPACHE_LOCAL == 1 ]]
|
||||
then
|
||||
Title ${NINEAPACHE_SERVICE_NAME^^}
|
||||
EchoVert "CONTAINER"
|
||||
upservice ${NINEAPACHE_SERVICE_NAME}
|
||||
Echo
|
||||
fi
|
||||
}
|
||||
|
||||
function destroynineapache {
|
||||
if [[ $NINEAPACHE_LOCAL == 1 ]]
|
||||
then
|
||||
Title "DESTROY ${NINEAPACHE_SERVICE_NAME}"
|
||||
|
||||
stop ${NINEAPACHE_SERVICE_NAME} 1
|
||||
docker-compose rm -s -v -f "${NINEAPACHE_SERVICE_NAME}"
|
||||
|
||||
echo ""
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user