# {{ ansible_managed }}
[Unit]
Description=SonarQube service
After=syslog.target network-online.target

[Service]
Type=simple
User=sonarqube
Group=sonarqube
ExecStart=/bin/nohup /usr/bin/java -Djava.awt.headless=true -Xms32m -Xmx32m -Djava.net.preferIPv4Stack=true -jar /opt/sonarqube/stateless/lib/sonar-application-{{ sonarqube_version }}.jar
StandardOutput=syslog
LimitNOFILE=131072
LimitNPROC=8192
TimeoutStartSec=5
Restart=always
SuccessExitStatus=143

[Install]
WantedBy=multi-user.target
