Correction d'un type de fichier
This commit is contained in:
parent
5010fd1faa
commit
0513cefac8
|
@ -16,7 +16,7 @@ fi
|
|||
if [[ ! -d ~/.local/share/containers/storage/volumes/${dbvolume} ]]; then
|
||||
podman volume create matrixdotorg_synapse-pgsql
|
||||
fi
|
||||
if [[ ! -d `podman volume inspect --format '{{ .Mountpoint }}' matrixdotorg_synapse-data`/homeserver.yaml ]]; then
|
||||
if [[ ! -f `podman volume inspect --format '{{ .Mountpoint }}' matrixdotorg_synapse-data`/homeserver.yaml ]]; then
|
||||
podman run -it --name ${container_name}-generate --mount type=volume,src=matrixdotorg_synapse-data,dst=/data -e SYNAPSE_SERVER_NAME=garbaye.fr -e SYNAPSE_REPORT_STATS=no ${synapse_image}:${synapse_version} generate && \
|
||||
podman rm ${container_name}-generate
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue