diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-02-24 08:00:19 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-05-08 09:10:45 +0200 |
commit | 8c89a8e8e4c850ec631c7f35d9323eae5d94416e (patch) | |
tree | d80235c7f75c15a0da3b8885fd881485c7181b98 /net | |
parent | a20ff2643ee25a42d4abdd3fcd8a8089163b4872 (diff) |
sslh: chroot support
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sslh/files/sslh.init | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sslh/files/sslh.init b/net/sslh/files/sslh.init index 8d7d1f185..bf5136d3a 100644 --- a/net/sslh/files/sslh.init +++ b/net/sslh/files/sslh.init @@ -51,10 +51,13 @@ start_instance() { config_get_bool val "${section}" transparent 0 [ "${val}" -ne 0 ] && append args "--transparent" + mkdir -p "/var/tmp/sslh" + # Defaults were removed for --user and --pidfile options # in sslh 1.11; Define them here instead. append args "--user nobody" append args "--pidfile /var/run/sslh.pid" + append args "-C /var/tmp/sslh" # XXX: allow more that one instance to run simultaneously SERVICE_MATCH_NAME=1 SERVICE_NAME="sslh-dummy-$$" \ |