ION CAENRFIDD DAEMON
- Ion Technical Information Manual
31
#
# Default:
# log_level = error
# Log to stderr
#
# Enable logging to standard error too.
#
# Default:
# log_to_stderr = false
# Lock file
#
# Set the lock file name.
#
# Default:
# lock_file = "/var/lock/caenrfidd"
# PID file
#
# Set the PID file name. You can kill the program by using the command:
# $ kill
#
# Default:
# pid_file = "/var/run/caenrfidd.pid"
# Run as user
#
# If executed as root the server will drop privileges to the specified
# user.
#
# Note: the selected user shold be able to read/write USB devices!
#
# Default:
# user = "daemon"
user = "root"
# Listening port
#
# Change the default listening port.
#
# CAENRFID default is 1000 so you need setting:
#
# user = "root"
#
# in order to bind to the default CAENRFID port or the server will refuse
# to start.
#
# Default:
# port = 1000
# Radios directory
#
# Set the default radios' searching directory.
#
# Default:
# radios_dir = "/usr/lib/caenrfidd/radios"
# IO ports directory
#
# Set the default IO ports' searching directory.
#
# Default:
# ioports_dir = "/usr/lib/caenrfidd/ioports"
All settings are self-explanatory and they define general daemons settings.
The reader configuration file
By using the
READER_NAME
above variable the daemon will load the reader configuration file named
/etc/caenrfidd/READER_NAME.conf
; so, in our example, the daemon will read file
/etc/caenrfidd/ion.conf
to set specific reader settings.