# this is an example configuration file for refdbd, the application server
# of RefDB
# RefDB is a reference database and bibliography tool, see
# http://refdb.sourceforge.net for further information

# Syntax rules of this file:
# 1. Each line contains a pair of variable name and variable value, 
#    separated by whitespace.
# 2. The hash (#) denotes the start of a comment, the rest of the line
#    will be ignored
# 3. The line ending must be Unix-style (LF) regardless of the operating
#    system

# The full path of a directory for shareable application files
refdblib /usr/share/refdb

# Either the IP address or the hostname of the computer that runs the
# database server. Use "localhost" if refdbd and the database server
# run on the same computer. This variable is ignored by embedded
# database engines
serverip	localhost

# The port on which the database server listens. Default values are
# 3306 (MySQL) and 5432 (PostgreSQL). This variable is ignored by
# embedded database engines
dbsport		

# The database server we want to connect to. Currently mysql,
# pgsql, and sqlite are supported
dbserver	sqlite

# The directory where embedded database servers keep their files
# This variable is ignored by external database servers
dbpath		/usr/share/refdb/db

# The port on which refdbd listens for client connections
port	9734

# The time in seconds which has to elapse before a stalled connection
# to the client is taken down
#timeout	180

# The full path of a custom log file. This will be used if logdest is
# set accordingly
logfile /var/log/refdbd.log

# The destination of the log information. Uncomment *one* of the
# following definitions. "file" uses the file specified with the
# logfile variable
#logdest stderr
#logdest syslog
logdest file

# The priority up to which messages are logged. Uncomment *one* of the
# following definitions. "emerg" will result in the fewest, "debug" in
# the most log messages
#loglevel emerg
#loglevel alert
#loglevel crit
#loglevel err
#loglevel warning
#loglevel notice
loglevel info
#loglevel debug

# The full path of the file where the refdbd stores the current process
# ID of the parent process
pidfile		/var/run/refdbd.pid

# Allow (t) or deny (f) remote administration of refdbd through refdba
remoteadmin f

# Allow (t) or deny (f) remote access
remoteconnect f

# Keep (t) or delete(f) periodical names and synonyms when deleting
# references
keep_pnames t

# Perform an automatic keyword scan after references are added or
# updated if set to 't'. Set this to 'f' to skip the automatic keyword
# scan.
keyword_scan t

# Specify the directory that contains the libdbi drivers. This is only
# necessary if you use precompiled libdbi binaries in locations the
# binaries were not built for
# dbi_driverdir /usr/local/lib/dbd

# Specify the default encoding that newly created databases use. This
# feature is currently only supported by PostgreSQL. Possible values are
# SQL_ASCII, EUC_JP, EUC_CN, EUC_KR, EUC_TW, UNICODE, MULE_INTERNAL, LATIN1
# through LATIN5, KOI8, WIN, ALT
db_encoding	UNICODE

# Specify the default encoding of imported RIS data.
in_encoding	ISO-8859-1

# Set this to t if you want refdbd to uppercase citation keys when
# adding datasets. This is convenient to make sure your datasets work
# properly with SGML documents
#upper_citekey	t

# end of refdbdrc
