rc.d/auditd: set pidfile
auditd creates a pidfile so we should use it for status checks. This also seems to speed up the frequent onestatus checks used in tests/sys/audit. Reviewed By: asomers Differential Revision: https://reviews.freebsd.org/D28389
This commit is contained in:
parent
1a714ff204
commit
bcc5b24456
@ -16,6 +16,7 @@ name="auditd"
|
||||
desc="Audit daemon"
|
||||
stop_cmd="auditd_stop"
|
||||
command="/usr/sbin/${name}"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
rcvar="auditd_enable"
|
||||
command_args="${auditd_flags}"
|
||||
required_files="/etc/security/audit_class /etc/security/audit_control
|
||||
|
Loading…
Reference in New Issue
Block a user