8 lines
183 B
Plaintext
8 lines
183 B
Plaintext
|
#!/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
|