openbsd-ports/net/adsuck/pkg/adsuck.rc
ajacoutot d7e7763365 Small fix to the regex file.
from Thomas Pfaff
ok Gonzalo L. R. (maintainer)
2011-09-20 15:20:03 +00:00

15 lines
303 B
Bash

#!/bin/sh
#
# $OpenBSD: adsuck.rc,v 1.2 2011/09/20 15:20:03 ajacoutot Exp $
daemon="${TRUEPREFIX}/sbin/adsuck"
daemon_flags="-c /var/adsuck -f /files/resolv.conf -r /files/regex /files/hosts.small"
. /etc/rc.d/rc.subr
rc_reload() {
pkill -HUP -f "^${pexp}" && pkill -USR1 -f "^${pexp}"
}
rc_cmd $1