openbsd-ports/www/squid/pkg/squid.rc
sthen e93b9fa8f1 Add daemon_flags support to squid.rc. From Marcus MERIGHI.
ok Brad (maintainer), dcoppa@, aja@
2011-05-18 14:47:55 +00:00

18 lines
251 B
Bash

#!/bin/sh
#
# $OpenBSD: squid.rc,v 1.5 2011/05/18 14:47:55 sthen Exp $
daemon="${TRUEPREFIX}/sbin/squid"
. /etc/rc.d/rc.subr
rc_stop() {
${daemon} ${daemon_flags} -k shutdown
}
rc_reload() {
${daemon} ${daemon_flags} -k reconfigure
}
rc_cmd $1