Commit 73f87302 authored by fwinkler's avatar fwinkler

Changed logrotate script.

parent 9a69a883
#!/bin/sh
source /sw/taurus/tools/pika/pika.conf
source /sw/taurus/tools/pika/pika-current.conf
/usr/sbin/logrotate -s ${PIKA_LOGPATH}/pika_logrotate.status ${PIKA_LOGPATH}/pika_logrotate.conf --force #--verbose
/usr/sbin/logrotate -s ${PIKA_LOGPATH}/pika_logrotate.status ${PIKA_ROOT}/daemon/logrotate/pika_logrotate.conf --force #--verbose
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment