commit:     5f9d49338827aa158ae5a94ce62d7fb722d1e785
Author:     William Pettersson <william <AT> ewpettersson <DOT> se>
AuthorDate: Sat Dec 29 13:23:17 2018 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 11:46:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f9d4933

net-misc/sslh: Update sample config file #673978

Updates the sample config file to support the systemd-level privilege
dropping, as given by the upstream service file.

Closes: https://bugs.gentoo.org/673978
Signed-off-by: William Pettersson <william <AT> ewpettersson.se>
Signed-off-by: Michael Palimaka <kensington <AT> gentoo.org>

 net-misc/sslh/files/sslh.conf.d-2 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net-misc/sslh/files/sslh.conf.d-2 
b/net-misc/sslh/files/sslh.conf.d-2
index 73d08d5f448..460a56b1183 100644
--- a/net-misc/sslh/files/sslh.conf.d-2
+++ b/net-misc/sslh/files/sslh.conf.d-2
@@ -5,4 +5,10 @@
 
 # Multiplexing example
 # Port 44 can be used for ssh, http, and https. Drop privileges after starting.
+# Note that this example is not compatible with systemd, as privilege dropping
+# is now handled by systemd.
 #DAEMON_OPTS="-p localhost:44 --ssh 127.0.0.1:22 --http 127.0.0.1:80 --ssl 
127.0.0.1:443 --user nobody"
+#
+# Port 44 can be used for ssh, http, and https. This is the same configuration
+# as the above, but compatible with systemd.
+#DAEMON_OPTS="-p localhost:44 --ssh 127.0.0.1:22 --http 127.0.0.1:80 --ssl 
127.0.0.1:443"

Reply via email to