aboutsummaryrefslogtreecommitdiffstats
path: root/http/systemd_stub.go
diff options
context:
space:
mode:
Diffstat (limited to 'http/systemd_stub.go')
-rw-r--r--http/systemd_stub.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/http/systemd_stub.go b/http/systemd_stub.go
new file mode 100644
index 0000000..00699f3
--- /dev/null
+++ b/http/systemd_stub.go
@@ -0,0 +1,7 @@
+//go:build !linux
+
+package http
+
+func getSystemdListeners() (Listeners, error) {
+ return nil, nil // No-op on non-Linux
+}