# cache-rejects: Do we also cache rejects, or not? (default 'yes')
#
caching {
- filename = ${confdir}/db.cache
+ filename = ${db_dir}/db.cache
cache-ttl = 1d
hit-ratio = 1000
key = "%{Acct-Unique-Session-Id}"
logdir = @logdir@
raddbdir = @raddbdir@
radacctdir = @radacctdir@
+db_dir = $(raddbdir)
# Location of config and logfiles.
confdir = ${raddbdir}
# 'check-name' attribute.
#
counter daily {
- filename = ${confdir}/db.daily
+ filename = ${db_dir}/db.daily
key = User-Name
count-attribute = Acct-Session-Time
reset = daily
# session-db:
# The main db file used to allocate addresses.
- session-db = ${confdir}/db.ippool
+ session-db = ${db_dir}/db.ippool
# ip-index:
# Helper db index file used in multilink
- ip-index = ${confdir}/db.ipindex
+ ip-index = ${db_dir}/db.ipindex
# override:
# If set, the Framed-IP-Address already in the