Gitea : force refresh of app.ini

This commit is contained in:
Gitouche 2022-06-09 22:50:46 +02:00
parent 17d4fb3f9b
commit eb3dcc1d49

View file

@ -53,6 +53,8 @@ export sshlisten_port
source ${ABSDIR}/zz_build-images.sh
podman image exists ${gitea_image}:${gitea_version} &&
podman pull ${postgres_image}:${postgres_version} &&
# force refresh of app.ini
podman unshare rm -f `get_podman_volume_path ${datavolume}`/gitea/conf/app.ini
podman-compose --podman-run-args "--env-file .env" up -d &&
echo -n "Waiting for gitea to finish starting " &&
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'NewServer()' &&