summaryrefslogtreecommitdiff
path: root/mail/policyd/files/policyd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mail/policyd/files/policyd.sh')
-rw-r--r--mail/policyd/files/policyd.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/policyd/files/policyd.sh b/mail/policyd/files/policyd.sh
new file mode 100644
index 00000000000..4158ebabb1c
--- /dev/null
+++ b/mail/policyd/files/policyd.sh
@@ -0,0 +1,21 @@
+#!@RCD_SCRIPTS_SHELL@
+#
+# $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="@BINDIR@/${name}"
+conf_file="@PKG_SYSCONFDIR@/$name.conf"
+required_files="${conf_file}"
+pidfile="@VARBASE@/run/${name}.pid"
+command_args="-c ${conf_file}"
+
+load_rc_config $name
+run_rc_command "$1"