25 lines
510 B
Bash
25 lines
510 B
Bash
#!/bin/bash
|
|
|
|
|
|
|
|
function upphpldapadmin {
|
|
if [[ $PHPLDAPADMIN_ACTIVATE == 1 && $PHPLDAPADMIN_LOCAL == 1 ]]
|
|
then
|
|
Title "PHPLDAPADMIN"
|
|
EchoVert "CONTAINER"
|
|
upservice $PHPLDAPADMIN_SERVICE_NAME
|
|
Echo
|
|
fi
|
|
}
|
|
|
|
function destroyphpldapadmin(){
|
|
if [[ $PHPLDAPADMIN_LOCAL == 1 ]]
|
|
then
|
|
Title "DESTROY $PHPLDAPADMIN_SERVICE_NAME"
|
|
|
|
stop $PHPLDAPADMIN_SERVICE_NAME 1
|
|
docker-compose rm -s -v -f "$PHPLDAPADMIN_SERVICE_NAME"
|
|
|
|
echo ""
|
|
fi
|
|
} |