sthen 93f2ae18d1 Re-import squid 2.7.STABLE9 under www/squid27, same as the previous port
in www/squid as of 2012/11/26 plus a REVISION bump. The newer version works
well in most cases, but is less portable and seems to have problems with
certain configurations.  ok ajacoutot.
2013-01-02 10:12:02 +00:00

18 lines
255 B
Bash

#!/bin/sh
#
# $OpenBSD: squid.rc,v 1.1.1.1 2013/01/02 10:12:03 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