Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #7 from lrk/develop
Browse files Browse the repository at this point in the history
Fix issue #6
  • Loading branch information
lrk authored Jul 9, 2018
2 parents 9100cad + 120a6f1 commit 9000b50
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Available variables along with default values are listed below (see `defaults/ma
# SonarQube system user
sonar_user: sonar

# SonarQube service LimitNOFILE parameter
sonar_limitnofile: 65536

# SonarQube plugins to install
sonar_plugins: []
Expand Down
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ sonar_group: sonar
# SonarQube system user
sonar_user: sonar

# SonarQube service LimitNOFILE parameter
sonar_limitnofile: 65536

# SonarQube plugins to install
sonar_plugins: []
# - { name: "plugin name", version: "1.0", commercial: false, url: 'optional'}
Expand Down
2 changes: 2 additions & 0 deletions templates/sonar.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Restart=on-failure
RestartSec=10
PIDFile={{ sonar_daemon_dir }}/SonarQube.pid
User={{ sonar_user }}
Group={{ sonar_group }}
LimitNOFILE={{ sonar_limitnofile }}

[Install]
WantedBy=multi-user.target

0 comments on commit 9000b50

Please sign in to comment.