Skip to content

Commit

Permalink
Fix systemd socket when using a custom kingpin app
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
  • Loading branch information
roidelapluie committed Oct 21, 2022
1 parent 7cedc3c commit 76bdc43
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
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

0 comments on commit 76bdc43

Please sign in to comment.