diff --git a/podman-framadate/10_install.sh b/podman-framadate/10_install.sh index e4068c5..ff4e195 100755 --- a/podman-framadate/10_install.sh +++ b/podman-framadate/10_install.sh @@ -26,6 +26,8 @@ SMTP_SERVER=${GARBAYE_FRAMADATE_SMTP_SERVER} EOT +export framadate_image +export framadate_version export listen_if export listen_port @@ -33,6 +35,8 @@ podman pull ${framadate_image}:${framadate_version} podman pull docker.io/library/php:7-apache && podman pull docker.io/library/mysql:5.7 && podman-compose up -d && +echo -n "Waiting for initialization to end... " && ( podman logs -f framadate-app 2>&1 & ) | grep -q 'configured -- resuming normal operations' && +echo "OK" && shred -u .env && podman pod stop ${pod_name}