#!/nix/store/fv45i8vi65zpxm9f3r3ff04816b8gcpi-bash-interactive-5.2p37/bin/sh
# Helper script to provide legacy auditd service options not
# directly supported by systemd.

state=$(systemctl show -P ActiveState auditd)
if [ "$state" = "active" ] ; then
	/sbin/auditctl --signal stop
	/bin/systemctl start auditd
	RETVAL="$?"
	exit $RETVAL
fi
exit 0
