From 0a24fbf724f1ad570eca1136a68c2afaa7cc0384 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Fri, 28 Jan 2022 22:34:31 +0100 Subject: [PATCH] framadate, jitsi : arret du pod apres l'installation --- podman-framadate/10_install.sh | 1 + podman-jitsi/10_install.sh | 2 +- podman-seafile/10_install.sh | 7 +++---- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/podman-framadate/10_install.sh b/podman-framadate/10_install.sh index 972e784..96b7d8f 100755 --- a/podman-framadate/10_install.sh +++ b/podman-framadate/10_install.sh @@ -30,3 +30,4 @@ export GARBAYE_FRAMADATE_FRAMADATE_VERSION="${framadate_release}" podman-compose up -d shred -u .env podman rmi $(podman images -a -q -- docker.io/library/composer) +podman pod stop ${pod_name} diff --git a/podman-jitsi/10_install.sh b/podman-jitsi/10_install.sh index 6dfbd88..11c07ac 100755 --- a/podman-jitsi/10_install.sh +++ b/podman-jitsi/10_install.sh @@ -43,7 +43,7 @@ sed_in_place "^#ENABLE_IPV6=1" "ENABLE_IPV6=0" .env echo "ENABLE_P2P=false" >> .env -podman-compose up -d && echo Pod build and started +podman-compose up -d && podman pod stop ${pod_name} && echo Pod built and stopped. # cleanup shred -u .env .env.bak env.example gen-passwords.sh docker-compose.yml diff --git a/podman-seafile/10_install.sh b/podman-seafile/10_install.sh index a875271..9a6a452 100755 --- a/podman-seafile/10_install.sh +++ b/podman-seafile/10_install.sh @@ -39,8 +39,7 @@ done ; echo "OK" sed -i -e "s|^FILE_SERVER_ROOT = \"http://${GARBAYE_SEAFILE_SERVER_HOSTNAME}/seafhttp\"|FILE_SERVER_ROOT = \"https://${GARBAYE_SEAFILE_SERVER_HOSTNAME}/seafhttp\"\nEMAIL_USE_TLS = False\nEMAIL_HOST = '${GARBAYE_SEAFILE_SMTP_SERVER}'\nEMAIL_HOST_USER = ''\nEMAIL_HOST_PASSWORD = ''\nEMAIL_PORT = 25\nDEFAULT_FROM_EMAIL = 'noreply@seafile.garbaye.fr'\nSERVER_EMAIL = 'noreply@seafile.garbaye.fr'|g" `get_podman_volume_path ${datavolume}`/seafile/conf/seahub_settings.py +podman pod stop ${pod_name} && echo Pod built and stopped. + +# cleanup shred -u .env - -./40_stop.sh - -echo All good : pod ${pod_name} built and stopped