From 8a328fa9bb1820dff98b01dcdbc5b1e126ccd664 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc?= Date: Mon, 14 Jun 2021 15:10:05 +0200 Subject: [PATCH] Correction des scripts d'install --- podman-matrix/05_freshinstall.sh | 2 +- podman-matrix/10_install.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/podman-matrix/05_freshinstall.sh b/podman-matrix/05_freshinstall.sh index e5b9175..c000a02 100755 --- a/podman-matrix/05_freshinstall.sh +++ b/podman-matrix/05_freshinstall.sh @@ -28,8 +28,8 @@ podman rm synapse-generate #< enable_registration: false # #< database: -#< args: #< name: psycopg2 +#< args: #< user: synapse #< password: mysecretpass #< database: synapse diff --git a/podman-matrix/10_install.sh b/podman-matrix/10_install.sh index e7e5170..5353ad0 100755 --- a/podman-matrix/10_install.sh +++ b/podman-matrix/10_install.sh @@ -24,9 +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 logs -f ${db_container_name} &&\ podman run -d --name ${container_name} --pod ${pod_name} \ --mount type=volume,src=${confvolume},dst=/data ${synapse_image} && \ -podman logs -f ${container_name} &&\ -echo Pod built and starting +echo "Pod built and starting +run 'podman logs -f synapse synapse-db' to show initialisation status +then stop pod with 'podman pod stop ${pod_name}'"