KazV2/dockers/paheko/first.sh
2024-06-03 18:43:35 +02:00

20 lines
437 B
Bash
Executable File

#!/bin/bash
SERV_DIR=$(cd $(dirname $0); pwd)
KAZ_ROOT=$(cd $(dirname $0)/../..; pwd)
. "${KAZ_ROOT}/bin/.commonFunctions.sh"
setKazVars
cd $(dirname $0)
. "${DOCKERS_ENV}"
if ! [[ "$(docker ps -f name=${pahekoServName} | grep -w ${pahekoServName})" ]]; then
echo -e "Paheko not running... abort"
exit
fi
printKazMsg "\n *** Premier lancement de Paheko"
docker exec "${pahekoServName}" /usr/share/paheko/setupWebRights.sh