openbsd-ports/net/sslh/pkg/sslh_select.rc
sthen 68aad04c97 update to sslh 1.11; from Björn Ketelaars
note, if you set sslh_flags in rc.conf.local you'll need to add --user=_sslh
2012-04-22 20:50:12 +00:00

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