Repository navigation
Harden service installer defaults across Linux distros - #57
Merged
MidnightJava merged 1 commit intoJun 30, 2026
Merged
MidnightJava merged 1 commit into
MidnightJava merged 1 commit into
Conversation
timoteuszelle
force-pushed
the
fix/cross-distro-install-service
branch
from
June 30, 2026 21:35
d4de75c to
da9568c
Compare
- make install_service.sh resilient when input/dialout groups are absent - ensure ~/.config/systemd/user exists before writing user service unit - fall back to .env-example when .env is missing - fix README service command typo to fwledmonitor.service
timoteuszelle
force-pushed
the
fix/cross-distro-install-service
branch
from
June 30, 2026 21:44
da9568c to
3557c6d
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this PR fixes
install_service.shresilient wheninput/dialoutgroups are absent by adding only existing groups touseradd~/.config/systemd/userexists before writing the user service unit.env-example(or creates an empty env file) when.envis missingfwledmatrix.servicetofwledmonitor.serviceRoot cause and rationale
Installer failures were being hit on some distro variants because setup made assumptions that are not always true:
input/dialoutgroups are always present.envis always presentThere was also a README service-name mismatch that pointed users to
fwledmatrix.servicewhile the installer createsfwledmonitor.service.This PR hardens installer defaults without changing normal behavior on systems where these assumptions already hold.
Validation
bash -n install_service.shRelated branch (runtime reconnect issue)
fix/drawing-thread-reconnect(separated as requested)