aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/audit/init.d/auditd.restart
blob: 42669ff1fbcb2d1630fe26a6278415ca0e644148 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Helper script to provide legacy auditd service options not
# directly supported by systemd.

test -f /etc/audit/auditd.conf  || exit 6

/usr/libexec/initscripts/legacy-actions/auditd/stop
sleep 1
echo "Redirecting start to /bin/systemctl start auditd.service"
/bin/systemctl start auditd.service
RETVAL="$?"

exit $RETVAL