#!/nix/store/smkzrg2vvp3lng3hq7v9svfni5mnqjh2-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
