Update dispatcharr-install.sh

This commit is contained in:
CanbiZ 2025-10-27 11:03:10 +01:00
parent 500df0f2f3
commit 00dd7cb574

View File

@ -39,13 +39,13 @@ $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';"
{
cat <<EOF >~/dispatcharr.creds echo "Dispatcharr Credentials"
Dispatcharr-Credentials echo "Database Name: $DB_NAME"
Dispatcharr Database Name: $DB_NAME echo "Database User: $DB_USER"
Dispatcharr Database User: $DB_USER echo "Database Password: $DB_PASS"
Dispatcharr Database Password: $DB_PASS echo ""
EOF } >>~/dispatcharr.creds
msg_ok "Created PostgreSQL Database" msg_ok "Created PostgreSQL Database"
fetch_and_deploy_gh_release "dispatcharr" "Dispatcharr/Dispatcharr" fetch_and_deploy_gh_release "dispatcharr" "Dispatcharr/Dispatcharr"