xref: /freebsd/libexec/rc/rc.d/auditdistd (revision 397e83df75e0fcd0d3fcb95ae4d794cb7600fc89)
1#!/bin/sh
2#
3#
4
5# PROVIDE: auditdistd
6# REQUIRE: auditd
7# BEFORE:  DAEMON
8# KEYWORD: nojail shutdown
9
10. /etc/rc.subr
11
12name="auditdistd"
13desc="Audit trail files distribution daemon"
14rcvar="${name}_enable"
15pidfile="/var/run/${name}.pid"
16command="/usr/sbin/${name}"
17required_files="/etc/security/${name}.conf"
18extra_commands="reload"
19
20: ${auditdistd_svcj_options:="net_basic"}
21
22load_rc_config $name
23run_rc_command "$1"
24