Running SonarQube as a Service on Linux Documentation (CentOS 7)

Hello,
It works :slight_smile: But I had to add one more line:

LimitNOFILE=65536

The final file content:

[Unit]
Description=SonarQube service
After=syslog.target network.target

[Service]
Type=forking

ExecStart=/opt/sonar/bin/linux-x86-64/sonar.sh start
ExecStop=/opt/sonar/bin/linux-x86-64/sonar.sh stop

User=sonar
Group=sonar
Restart=always
LimitNOFILE=65536

[Install]
WantedBy=multi-user.target