From 2a73fa2c8957805e2b9a35be07e7d891bc9ad702 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Mon, 14 Jun 2021 14:19:55 +0200 Subject: [PATCH] Correction des scripts d'install --- podman-matrix/05_freshinstall.sh | 3 ++- podman-matrix/10_install.sh | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/podman-matrix/05_freshinstall.sh b/podman-matrix/05_freshinstall.sh index bc8bed7..e5b9175 100755 --- a/podman-matrix/05_freshinstall.sh +++ b/podman-matrix/05_freshinstall.sh @@ -28,6 +28,7 @@ podman rm synapse-generate #< enable_registration: false # #< database: +#< args: #< name: psycopg2 #< user: synapse #< password: mysecretpass @@ -36,5 +37,5 @@ podman rm synapse-generate #< port: 5432 #< cp_min: 5 #< cp_max: 10 -${ABSDIR}/10_install.sh +#${ABSDIR}/10_install.sh diff --git a/podman-matrix/10_install.sh b/podman-matrix/10_install.sh index cda8b5f..cc3b815 100755 --- a/podman-matrix/10_install.sh +++ b/podman-matrix/10_install.sh @@ -24,8 +24,9 @@ podman run -d --name ${db_container_name} --pod ${pod_name} \ -e POSTGRES_DB=${container_name} \ -e POSTGRES_INITDB_ARGS="--encoding=UTF8 --locale=C" \ -e PGDATA=/var/lib/postgresql/data/${container_name} ${postgres_image} && \ -podman run -d --name synapse --pod ${pod_name} \ +podman logs ${db_container_name} &&\ +podman run -d --name ${container_name} --pod ${pod_name} \ --mount type=volume,src=${confvolume},dst=/data ${synapse_image} && \ -podman pod stop ${pod_name} && \ -echo Pod built and stopped +podman logs ${container_name} &&\ +echo Pod built and starting