Update sonarqube-install.sh

This commit is contained in:
Slaviša Arežina 2025-10-01 00:41:55 +02:00 committed by GitHub
parent e33f32b56e
commit 71c8781e31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,6 +31,7 @@ $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME OWNER $DB_USER;"
msg_ok "Installed PostgreSQL"
msg_info "Configuring SonarQube"
$STD useradd -r -m -U -d /opt/sonarqube -s /bin/bash sonarqube
chown -R sonarqube:sonarqube /opt/sonarqube
chmod -R 755 /opt/sonarqube
mkdir -p /opt/sonarqube/conf