Last active
          October 15, 2024 10:22 
        
      - 
      
 - 
        
Save W1R3D-Code/19a02b13542444bae9af9262664a2be5 to your computer and use it in GitHub Desktop.  
    Running SonarQube as a Service on Linux with SystemD - /etc/systemd/system/sonarqube.service
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | [Unit] | |
| Description=SonarQube service | |
| After=syslog.target network.target | |
| [Service] | |
| Type=forking | |
| ExecStart=/opt/sonarqube/bin/linux-x86-64/sonar.sh start | |
| ExecStop=/opt/sonarqube/bin/linux-x86-64/sonar.sh stop | |
| User=vagrant | |
| Group=vagrant | |
| Restart=always | |
| LimitNOFILE=65536 | |
| LimitNPROC=8192 | |
| [Install] | |
| WantedBy=multi-user.target | |
Exactly what I was looking for! Thanks!
tq
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Assumptions: