[rancid] Location of logs directory
David Jones
djones at ena.com
Sun Aug 14 18:35:31 UTC 2016
Minor update request related to $LOGDIR.
Fresh install of 3.4.1. I moved my logs directory in the rancid.conf:
LOGDIR=/usr/local/rancid/logs
However, the logs are hard-coded to be under the $BASEDIR in bin/rancid-cvs.
Lines 138 and 139 should be changed from:
# Log dir
if [ ! -d logs ]; then
mkdir logs
fi
to:
# Log dir
if [ ! -d "$LOGDIR" ]; then
mkdir -p "$LOGDIR"
fi
Thank you,
Dave Jones
Lead Systems Engineer
Education Networks of America
www.ena.com
More information about the Rancid-discuss
mailing list