From e2352d510f8282771753625cba322dbf0b0020d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 6 Jun 2024 18:48:38 +0200 Subject: listen on custom network (ex. unix socket) --- README.adoc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'README.adoc') diff --git a/README.adoc b/README.adoc index ab692d8..d5ba33d 100644 --- a/README.adoc +++ b/README.adoc @@ -63,6 +63,8 @@ Example Configuration: `listen` :: Listen IP address and port like `0.0.0.0:0000` +You may optionally listen on a UNIX socket by setting the JSON configuration key "network" to "unix" and "listen" to "/path/to/your.sock". You may actually listen on any network that is supported by https://pkg.go.dev/net#Listen + `pamservicename` :: PAM authentication requires service-name like `login`, `su`. You can choose existing service or create a new. Existing service can be seen typing `ls /etc/pam.d/` For more service, see http://www.linux-pam.org/Linux-PAM-html/sag-configuration-file.html -- cgit v1.2.3