oauth2-mock-server/killDB.sh
2024-01-28 00:19:20 +00:00

9 lines
257 B
Bash
Executable File

# SPDX-FileCopyrightText: 2024 UniWorX Systems
# SPDX-FileContributor: David Mosbach <david.mosbach@uniworx.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
pg_ctl stop -D "${OAUTH2_PGDIR}"
rm -rvf "${OAUTH2_PGDIR}" "${OAUTH2_PGHOST}" "${OAUTH2_PGLOG}"