#!/bin/sh
#
# $NetBSD: policyd.sh,v 1.1.1.1 2007/08/07 12:34:56 ghen Exp $

# PROVIDE: policyd
# BEFORE: mail
# AFTER: mysqld
# REQUIRE: DAEMON

. /etc/rc.subr

name="policyd"
rcvar=$name
command="/usr/pkg/libexec/policyd/${name}"
conf_file="/usr/pkg/etc/$name.conf"
required_files="${conf_file}"
pidfile="/var/run/${name}.pid"
command_args="-c ${conf_file}"

load_rc_config $name
run_rc_command "$1"
