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 systemd socket when using a custom kingpin app #118

Merged
merged 1 commit into from Oct 21, 2022
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 7 additions & 3 deletions CHANGELOG.md
@@ -1,8 +1,12 @@
## 0.8.1 / 2022-10-21

* [BUGFIX] Fix systemd activation flag when using a custom kingpin app. #118

## 0.8.0 / 2022-10-10

* [CHANGE] Change some structs suffix from `Struct` to `Config` #114
* [FEATURE] Add multiple listeners and systemd socket support #95
* [FEATURE] Allow TLS parameters to be set in code #110
* [CHANGE] Change some structs suffix from `Struct` to `Config`. #114
* [FEATURE] Add multiple listeners and systemd socket support. #95
* [FEATURE] Allow TLS parameters to be set in code. #110

## 0.7.1 / 2021-12-02

Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.8.0
0.8.1
2 changes: 1 addition & 1 deletion web/kingpinflag/flag.go
Expand Up @@ -26,7 +26,7 @@ import (
func AddFlags(a *kingpin.Application, defaultAddress string) *web.FlagConfig {
systemdSocket := func() *bool { b := false; return &b }() // Socket activation only available on Linux
if runtime.GOOS == "linux" {
systemdSocket = kingpin.Flag(
systemdSocket = a.Flag(
"web.systemd-socket",
"Use systemd socket activation listeners instead of port listeners (Linux only).",
).Bool()
Expand Down