ninedocker/services/10-nineapache/misc/nine.sh

23 lines
569 B
Bash
Raw Normal View History

2024-07-24 16:11:40 +02:00
#!/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}"
2024-07-26 22:34:20 +02:00
rm -rf services/10-nineapache/volume/apache
2024-07-24 16:11:40 +02:00
echo ""
fi
}