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