diff --git a/koji-setup/koji-deploy-hub.sh b/koji-setup/koji-deploy-hub.sh index 55b94b3..12146b8 100644 --- a/koji-setup/koji-deploy-hub.sh +++ b/koji-setup/koji-deploy-hub.sh @@ -154,7 +154,7 @@ chown -R kojiadmin:kojiadmin "$ADMIN_KOJI_DIR" # Initialize PostgreSQL DB mkdir -p "$POSTGRES_DIR" chown -R "$POSTGRES_USER":"$POSTGRES_USER" "$POSTGRES_DIR" -sudo -u "$POSTGRES_USER" initdb --pgdata "$POSTGRES_DEFAULT_DIR"/data +sudo -u "$POSTGRES_USER" initdb --pgdata "$POSTGRES_DIR"/data systemctl enable --now postgresql # Setup User Accounts