8 lines
183 B
Bash
8 lines
183 B
Bash
#!/bin/sh
|
|
/usr/sbin/logrotate /etc/redxen/logrotate/
|
|
EXITVALUE=$?
|
|
if [ $EXITVALUE != 0 ]; then
|
|
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
|
|
fi
|
|
exit 0
|