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