#!/bin/sh
# Helper script to provide legacy auditd service options not
# directly supported by systemd.

test $(id -u) = 0  ||  exit 4

/usr/sbin/auditctl --signal stop
sleep 1
echo "Redirecting start to /bin/systemctl start auditd.service"
/bin/systemctl start auditd.service
RETVAL="$?"

exit $RETVAL
