Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systemd service file PIDFile mismatch #23

Merged
merged 4 commits into from Sep 20, 2022
Merged

Systemd service file PIDFile mismatch #23

merged 4 commits into from Sep 20, 2022

Conversation

storm49152
Copy link

Hi,

I came from the maestrodev/sonarqube module, and I'm currently using SonarQube 8.5.1. I know it's old, and I'm looking to upgrade to LTS first, then latest. But since the maestrodev module isn't maintained anymore, I thought I first upgrade to this module.

When I changed to using this module and keeping the 8.5.1 version, I had an issue with the PID file in the SonarQube home directory. The PID file is created, but it is called sonar.pid, and the Systemd service file is looking for SonarQube.pid.
SonarQube does start and works, for a short time, but then Systemd times out because it can't find the PID file, and it then terminates SonarQube.

This PR adds a pidfile parameter defaulting to "SonarQube.pid" (which is currently the fixed filename), making us able to configure which PIDFile that Systemd should use if there is a mismatch.

@fraenki fraenki self-assigned this Sep 20, 2022
@fraenki fraenki added the enhancement New feature or request label Sep 20, 2022
@fraenki fraenki merged commit 34fb21f into markt-de:master Sep 20, 2022
@fraenki
Copy link
Member

fraenki commented Sep 20, 2022

Merged, thanks!

PS: The "stealth" LDAP change would have been better suited in a new PR. I've merged it anyway, but overall using one PR for every contribution (and not mixing multiple topics in a PR) makes review much easier. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants