# Software Protection Manager  --  Configuration file

[Settings]
# In this section general settings of the SPM system are defined.
# The settings from the configuration file can be overridden by
# command line options if applicapable for the specific program.
# Settings are applied in the following order
#   1) setting from command line option
#   2) setting from configuration file
#   3) setting from program internal default settings

# Define a keyfile path for the SPM system.  This is the default:
KEY_FILENAME = /var/spm/.spm-kf
KEY_FILENAME_BAK_EXT= .old

# Define a logfile path for the SPM system.  This is the default:
LOG_FILENAME = /var/spm/spm.log

# Activate the log for the SPM system.  Default is inactive:
LOG_ACTIVE=TRUE
# LOG_WRITE_MODE=1  logfile is kept open while program is running
#                   (faster but logfile can't be renamed while spmd is running)
# LOG_WRITE_MODE=2  logfile will be closed after each write (default)
#                   (slower but logfile can be renamed while spmd is running)
LOG_WRITE_MODE=2

# Type of dongle for the SPM system (if required).  Default is no dongle.
DONGLE_TYPE = SI2
# Select the port the dongle is connected to.
# Default setting is /dev/ttyb for Sun or /dev/ttyd2 for SGI
DONGLE_PORT = /dev/tty01

# Permission to manipulate spmd via spmstat. Default is root@localhost.
#SPM_STAT_PERMISSION: root@localhost

# license expiry warning times
LIC_TERM_POST_WARN  5
LIC_TERM_PRE_WARN  1
DONG_TERM_PRE_WARN  11
