Add daemon_flags support to squid.rc. From Marcus MERIGHI.
ok Brad (maintainer), dcoppa@, aja@
This commit is contained in:
parent
bf79395caf
commit
e93b9fa8f1
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.117 2011/04/14 08:11:50 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.118 2011/05/18 14:47:55 sthen Exp $
|
||||
|
||||
COMMENT= WWW and FTP proxy cache and accelerator
|
||||
|
||||
DISTNAME= squid-2.7.STABLE9
|
||||
REVISION= 8
|
||||
REVISION= 9
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= ${HOMEPAGE}/Versions/v2/2.7/
|
||||
DIST_SUBDIR= squid
|
||||
|
@ -1,17 +1,17 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: squid.rc,v 1.4 2010/12/27 14:50:24 ajacoutot Exp $
|
||||
# $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} -k shutdown
|
||||
${daemon} ${daemon_flags} -k shutdown
|
||||
}
|
||||
|
||||
rc_reload() {
|
||||
${daemon} -k reconfigure
|
||||
${daemon} ${daemon_flags} -k reconfigure
|
||||
}
|
||||
|
||||
rc_cmd $1
|
||||
|
Loading…
Reference in New Issue
Block a user