68aad04c97
note, if you set sslh_flags in rc.conf.local you'll need to add --user=_sslh
14 lines
269 B
Bash
14 lines
269 B
Bash
#!/bin/sh
|
|
#
|
|
# $OpenBSD: sslh_select.rc,v 1.3 2012/04/22 20:50:12 sthen Exp $
|
|
|
|
daemon="${TRUEPREFIX}/sbin/sslh-select"
|
|
daemon_flags="--user=_sslh --listen 0.0.0.0:443 --ssh 127.0.0.1:22 --ssl 127.0.0.1:443"
|
|
|
|
. /etc/rc.d/rc.subr
|
|
|
|
pexp="${daemon}"
|
|
rc_reload=NO
|
|
|
|
rc_cmd $1
|