mirror of https://github.com/tteck/Proxmox.git
parent
0cd751d75c
commit
22780bbf58
|
@ -44,10 +44,10 @@ $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCO
|
|||
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
|
||||
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET default_transaction_isolation TO 'read committed';"
|
||||
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC'"
|
||||
echo "" >umami.creds
|
||||
echo -e "umami Database User: \e[32m$DB_USER\e[0m" >>umami.creds
|
||||
echo -e "umami Database Password: \e[32m$DB_PASS\e[0m" >>umami.creds
|
||||
echo -e "umami Database Name: \e[32m$DB_NAME\e[0m" >>umami.creds
|
||||
echo "" >~/umami.creds
|
||||
echo -e "umami Database User: \e[32m$DB_USER\e[0m" >>~/umami.creds
|
||||
echo -e "umami Database Password: \e[32m$DB_PASS\e[0m" >>~/umami.creds
|
||||
echo -e "umami Database Name: \e[32m$DB_NAME\e[0m" >>~/umami.creds
|
||||
msg_ok "Set up postgresql"
|
||||
|
||||
msg_info "Installing Umami (Patience)"
|
||||
|
|
Loading…
Reference in New Issue