mirror of
https://src.koozali.org/infra/smeserver-koji.git
synced 2024-11-25 02:57:28 +01:00
postgres remnant removed
This commit is contained in:
parent
0ee9eafc12
commit
10b36b0f4d
@ -154,7 +154,7 @@ chown -R kojiadmin:kojiadmin "$ADMIN_KOJI_DIR"
|
|||||||
# Initialize PostgreSQL DB
|
# Initialize PostgreSQL DB
|
||||||
mkdir -p "$POSTGRES_DIR"
|
mkdir -p "$POSTGRES_DIR"
|
||||||
chown -R "$POSTGRES_USER":"$POSTGRES_USER" "$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
|
systemctl enable --now postgresql
|
||||||
|
|
||||||
# Setup User Accounts
|
# Setup User Accounts
|
||||||
|
Loading…
Reference in New Issue
Block a user