Skip to content

Fix service name for Debian DxM packaging - #140

Merged
MichielOda merged 2 commits into
mainfrom
FixDebianDxMPackaging
Jul 24, 2026
Merged

Fix service name for Debian DxM packaging#140
MichielOda merged 2 commits into
mainfrom
FixDebianDxMPackaging

Conversation

@MichielOda

Copy link
Copy Markdown
Member

This pull request updates the Debian packaging script to derive the service name from the systemd unit file rather than the project folder name. This ensures that the Debian service name matches the actual systemd unit being packaged, improving accuracy and reducing potential naming mismatches.

Debian packaging improvements:

  • Changed the logic for determining the Debian service name to use the systemd unit filename (minus the .service extension) instead of the project folder name. (.github/actions/package-debian/package-debian.sh) [1] [2] [3]
  • Added validation to ensure that each project has exactly one .service file in packaging/Debian/content/lib/systemd/system, with clear error messages if none or multiple are found. (.github/actions/package-debian/package-debian.sh)

@MichielOda
MichielOda requested a review from a team July 24, 2026 10:01
@MichielOda
MichielOda merged commit 92e3f47 into main Jul 24, 2026
46 checks passed
@MichielOda
MichielOda deleted the FixDebianDxMPackaging branch July 24, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant