3 # How long do we wait before compressing the log ? Default: 2
7 /etc/alternc/local.sh \
8 /usr/lib/alternc/functions.sh
10 if [ ! -r "$CONFIG_FILE" ]; then
11 echo "Can't access $CONFIG_FILE."
19 # ALTERNC_LOGS is from local.sh
21 #Compress logs older than XX days
22 nice -n 10 find "$ALTERNC_LOGS" -type f -name '*.log' -mtime +$DAYS -exec gzip '{}' \;