Skip to content

Commit c6a2415

Browse files
author
Julien Pivotto
authored
Fix systemd socket when using a custom kingpin app (#118)
Signed-off-by: Julien Pivotto <[email protected]> Signed-off-by: Julien Pivotto <[email protected]>
1 parent 7cedc3c commit c6a2415

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

CHANGELOG.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
## 0.8.1 / 2022-10-21
2+
3+
* [BUGFIX] Fix systemd activation flag when using a custom kingpin app. #118
4+
15
## 0.8.0 / 2022-10-10
26

3-
* [CHANGE] Change some structs suffix from `Struct` to `Config` #114
4-
* [FEATURE] Add multiple listeners and systemd socket support #95
5-
* [FEATURE] Allow TLS parameters to be set in code #110
7+
* [CHANGE] Change some structs suffix from `Struct` to `Config`. #114
8+
* [FEATURE] Add multiple listeners and systemd socket support. #95
9+
* [FEATURE] Allow TLS parameters to be set in code. #110
610

711
## 0.7.1 / 2021-12-02
812

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.8.0
1+
0.8.1

web/kingpinflag/flag.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
func AddFlags(a *kingpin.Application, defaultAddress string) *web.FlagConfig {
2727
systemdSocket := func() *bool { b := false; return &b }() // Socket activation only available on Linux
2828
if runtime.GOOS == "linux" {
29-
systemdSocket = kingpin.Flag(
29+
systemdSocket = a.Flag(
3030
"web.systemd-socket",
3131
"Use systemd socket activation listeners instead of port listeners (Linux only).",
3232
).Bool()

0 commit comments

Comments
 (0)