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

Fix: Replace missing systemd Unit File (2.8) #13778

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build/package/nfpm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ contents:
dst: /etc/kong
- src: bin/kong
dst: /usr/local/bin/kong
- src: build/package/kong.service
dst: /lib/systemd/system/kong.service
- src: build/package/kong.logrotate
dst: /etc/kong/kong.logrotate
scripts:
Expand Down
3 changes: 3 additions & 0 deletions changelog/unreleased/kong/fix_service_file.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
message: "Fixed an issue where the systemd service unit file was missing from packages."
type: bugfix
scope: Core
2 changes: 2 additions & 0 deletions scripts/explain_manifest/fixtures/alpine-amd64.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- Path : /etc/kong/kong.logrotate

- Path : /lib/systemd/system/kong.service

- Path : /usr/local/kong/include/google
Type : directory

Expand Down
2 changes: 2 additions & 0 deletions scripts/explain_manifest/fixtures/amazonlinux-2-amd64.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- Path : /etc/kong/kong.logrotate

- Path : /lib/systemd/system/kong.service

- Path : /usr/local/kong/include/google
Type : directory

Expand Down
2 changes: 2 additions & 0 deletions scripts/explain_manifest/fixtures/amazonlinux-2023-amd64.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- Path : /etc/kong/kong.logrotate

- Path : /lib/systemd/system/kong.service

- Path : /usr/local/kong/include/google
Type : directory

Expand Down
2 changes: 2 additions & 0 deletions scripts/explain_manifest/fixtures/debian-11-amd64.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- Path : /etc/kong/kong.logrotate

- Path : /lib/systemd/system/kong.service

- Path : /usr/local/kong/include/google
Type : directory

Expand Down
2 changes: 2 additions & 0 deletions scripts/explain_manifest/fixtures/el8-amd64.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- Path : /etc/kong/kong.logrotate

- Path : /lib/systemd/system/kong.service

- Path : /usr/local/kong/include/google
Type : directory

Expand Down
2 changes: 2 additions & 0 deletions scripts/explain_manifest/fixtures/ubuntu-20.04-amd64.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- Path : /etc/kong/kong.logrotate

- Path : /lib/systemd/system/kong.service

- Path : /usr/local/kong/include/google
Type : directory

Expand Down
2 changes: 2 additions & 0 deletions scripts/explain_manifest/fixtures/ubuntu-22.04-amd64.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
- Path : /etc/kong/kong.logrotate

- Path : /lib/systemd/system/kong.service

- Path : /usr/local/kong/include/google
Type : directory

Expand Down
2 changes: 2 additions & 0 deletions scripts/explain_manifest/suites.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ def common_suites(expect, libxcrypt_no_obsolete_api: bool = False):

expect("/etc/kong/kong.logrotate", "includes logrotate config").exists()

expect("/lib/systemd/system/kong.service", "includes systemd unit file").exists()

expect("/usr/local/kong/include/openssl/**.h", "includes OpenSSL headers").exists()

# binary correctness
Expand Down
Loading