summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pettersson <william@ewpettersson.se>2018-12-29 13:23:17 +0000
committerMichael Palimaka <kensington@gentoo.org>2019-03-25 22:46:14 +1100
commit5f9d49338827aa158ae5a94ce62d7fb722d1e785 (patch)
treeb6a864fa2a4d5094c2a7d8a128d42b197ed33018 /net-misc/sslh
parentdev-libs/cgilib: sh stable wrt bug #677962 (diff)
downloadgentoo-5f9d49338827aa158ae5a94ce62d7fb722d1e785.tar.gz
gentoo-5f9d49338827aa158ae5a94ce62d7fb722d1e785.tar.bz2
gentoo-5f9d49338827aa158ae5a94ce62d7fb722d1e785.zip
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@ewpettersson.se> Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'net-misc/sslh')
-rw-r--r--net-misc/sslh/files/sslh.conf.d-26
1 files changed, 6 insertions, 0 deletions
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"