net-misc/sslh: Update sample config file #673978
authorWilliam Pettersson <william@ewpettersson.se>
Sat, 29 Dec 2018 13:23:17 +0000 (13:23 +0000)
committerMichael Palimaka <kensington@gentoo.org>
Mon, 25 Mar 2019 11:46:14 +0000 (22:46 +1100)
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@ewpettersson.se>
Signed-off-by: Michael Palimaka <kensington@gentoo.org>
net-misc/sslh/files/sslh.conf.d-2

index 73d08d5f448437532e187612a0dc27d87d44fc7b..460a56b1183b8d5233135dc9cdb87129e8a8348c 100644 (file)
@@ -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"