Debian Codegraph @

init.d/auditd.condrestart

raw
1 #!/bin/sh
2 # Helper script to provide legacy auditd service options not
3 # directly supported by systemd.
4
5 state=$(systemctl show -P ActiveState auditd)
6 if [ "$state" = "active" ] ; then
7 /sbin/auditctl --signal stop
8 /bin/systemctl start auditd
9 RETVAL="$?"
10 exit $RETVAL
11 fi
12 exit 0