nix(fix): Database cluster not cleaned up before artifact upload

This commit is contained in:
Wolfgang Walther
2021-08-15 12:35:52 +02:00
committed by Remo
parent 0511e99dd4
commit 5874482f03
+1
View File
@@ -72,6 +72,7 @@ let
stop () {
log "Stopping the database cluster..."
pg_ctl stop -m i >> "$setuplog"
rm -rf "$tmpdir/db"
}
trap stop EXIT