openbsd-ports/net/sslh/pkg/sslh_fork.rc
rpe 9a8b5ccd06 Change the shebang line from /bin/sh to /bin/ksh in all ports rc.d
daemon scripts and bump subpackages that contain the *.rc scripts.

discussed with and OK aja@
OK tb
2018-01-11 19:27:01 +00:00

14 lines
267 B
Bash

#!/bin/ksh
#
# $OpenBSD: sslh_fork.rc,v 1.5 2018/01/11 19:27:08 rpe Exp $
daemon="${TRUEPREFIX}/sbin/sslh-fork"
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