mirror of
https://github.com/goharbor/harbor.git
synced 2024-08-31 00:10:02 +02:00
Fixes #11885 This part will not by default be packaged into release. A README.md will be added in another commit. Signed-off-by: Daniel Jiang <jiangd@vmware.com>
7 lines
148 B
Bash
7 lines
148 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
[ $EXTERNAL_DB -eq 1 ] || pg_ctl start -w -t 60 -D ${PGDATA}
|
|
/harbor/migrate
|
|
[ $EXTERNAL_DB -eq 1 ] || pg_ctl stop -D ${PGDATA}
|