blob: e89850a66a227b2a5958a3e5890a48904b2744eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
# Helper script to provide legacy auditd service options not
# directly supported by systemd
# Check that we are root ... so non-root users stop here
test $EUID = 0 || exit 4
PATH=/sbin:/bin:/usr/bin:/usr/sbin
prog="auditd"
source /etc/init.d/functions
echo -n $"Rotating logs: "
killproc $prog -USR1
RETVAL=$?
echo
exit $RETVAL
|