first commit

This commit is contained in:
2024-06-03 18:43:35 +02:00
parent 2da01a3f6e
commit f501d519af
883 changed files with 71550 additions and 2 deletions

19
dockers/web/first.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/bash
KAZ_ROOT=$(cd $(dirname $0)/../..; pwd)
. "${KAZ_ROOT}/bin/.commonFunctions.sh"
setKazVars
cd $(dirname $0)
. "${DOCKERS_ENV}"
WEB_URL="${httpProto}://${domain}"
checkDockerRunning "${webServName}" "Web" || exit
if [ $(ls "${DOCK_VOL}/web_html/_data/" 2>/dev/null | wc -l) -le 4 ] ; then
printKazMsg "\n *** Premier lancement de WEB"
rsync -aAHXh --info=progress2 ./html/ "${DOCK_VOL}/web_html/_data/"
chown -R www-data: "${DOCK_VOL}/web_html/_data/"
fi