From: William Pettersson Date: Sat, 29 Dec 2018 13:23:17 +0000 (+0000) Subject: net-misc/sslh: Update sample config file #673978 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5f9d49338827aa158ae5a94ce62d7fb722d1e785;p=gentoo.git 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 Signed-off-by: Michael Palimaka --- diff --git a/net-misc/sslh/files/sslh.conf.d-2 b/net-misc/sslh/files/sslh.conf.d-2 index 73d08d5f4484..460a56b1183b 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"