aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc/rc.d/auditdistd
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/rc/rc.d/auditdistd')
-rwxr-xr-xlibexec/rc/rc.d/auditdistd23
1 files changed, 23 insertions, 0 deletions
diff --git a/libexec/rc/rc.d/auditdistd b/libexec/rc/rc.d/auditdistd
new file mode 100755
index 000000000000..0814c2a4d2c7
--- /dev/null
+++ b/libexec/rc/rc.d/auditdistd
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+#
+
+# PROVIDE: auditdistd
+# REQUIRE: auditd
+# BEFORE: DAEMON
+# KEYWORD: nojail shutdown
+
+. /etc/rc.subr
+
+name="auditdistd"
+desc="Audit trail files distribution daemon"
+rcvar="${name}_enable"
+pidfile="/var/run/${name}.pid"
+command="/usr/sbin/${name}"
+required_files="/etc/security/${name}.conf"
+extra_commands="reload"
+
+: ${auditdistd_svcj_options:="net_basic"}
+
+load_rc_config $name
+run_rc_command "$1"