Subversion Repositories configs

Rev

Rev 3 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3 Rev 33
Line 1... Line 1...
1
#!/bin/sh
1
#!/bin/sh
2
 
2
 
3
/usr/sbin/logrotate /etc/logrotate.conf >/dev/null 2>&1
3
/usr/sbin/logrotate /etc/logrotate.conf
4
EXITVALUE=$?
4
EXITVALUE=$?
5
if [ $EXITVALUE != 0 ]; then
5
if [ $EXITVALUE != 0 ]; then
6
    /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
6
    /usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
7
fi
7
fi
8
exit 0
8
exit 0