Update umami-install.sh

tweak
This commit is contained in:
tteckster 2024-05-19 07:30:05 -04:00 committed by GitHub
parent 0cd751d75c
commit 22780bbf58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 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 default_transaction_isolation TO 'read committed';"
$STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC'" $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC'"
echo "" >umami.creds echo "" >~/umami.creds
echo -e "umami Database User: \e[32m$DB_USER\e[0m" >>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 Password: \e[32m$DB_PASS\e[0m" >>~/umami.creds
echo -e "umami Database Name: \e[32m$DB_NAME\e[0m" >>umami.creds echo -e "umami Database Name: \e[32m$DB_NAME\e[0m" >>~/umami.creds
msg_ok "Set up postgresql" msg_ok "Set up postgresql"
msg_info "Installing Umami (Patience)" msg_info "Installing Umami (Patience)"