view run-app.sh @ 4413:a554d7ca26ee

Do not ignore any errors in database setup Previously, errors in role creation were ignored and setup continued. Since this makes it quite likely that newly introduced errors are overlooked e.g. when running database tests, handle all role creation more gracefully and stop the setup script on any error. To achieve this more easily, made code in std_login_roles.sql a bit more reusable.
author Tom Gottfried <tom@intevation.de>
date Tue, 17 Sep 2019 17:24:03 +0200
parents 9b2218a6c6ae
children
line wrap: on
line source

#!/usr/bin/env bash
exec 2>&1 ./cmd/gemma/gemma --config gemma.toml