![]() |
BillMax Billing Solutions 877.245.5629 sales@billmax.com |
billmax.conf — Various BillMax Settings
The /usr/local/billmax/local/billmax.conf file is a shell style script that may be sourced to set up the BillMax environment. The purpose of billmax.conf is to set the values of variables. The values of these variables are then used by various BillMax programs. Most of these settings are used by billmax-admin.
The variable entries may be divided into four broad categories:
Variables pertinent to the base functionality of BillMax.
BILLMAXDIRThe installation location of BillMax. Always /usr/local/billmax.
PATHThe directories in which needed executables are located. This is passed to the BillMax Hooks.
HOMEThe installation location of BillMax. Always /usr/local/billmax.
TERMA valid terminal. May be needed when executing a BillMax Hook.
DB_SERVER, DB_DATABASE, DB_USER, DB_PASSWD, DB_SOCKET, DB_PORT
Database connection parameters used in the operation of most BillMax processes.
MYSQL_ADMIN_USER, MYSQL_ADMIN_PASSWD
MYSQL system authentication used when stopping and starting MYSQL. Used when backing up the MYSQL database.
MYSQLD, MYSQLD_START, MYSQLD_STOP
If MYSQLD is set to YES, billmax-admin will execute the value for MYSQLD_START to start the Daemon for the MYSQL database and MYSQLD_STOP to stop the Daemon.
MYSQLD_UPCommand used to determine if the MYSQL Daemon is running.
HTTPD, HTTPD_START, HTTPD_STOP
If HTTPD is set to YES, billmax-admin will execute the value for HTTPD_START to start the Daemon for the web server and HTTPD_STOP to stop the Daemon.
ECONTACTE-mail address for an emergency contact. Used by billmax-admin when it detects a severe failure.
Variables for starting and stopping optional Daemons.
RADIUSD, RADIUSD_START, RADIUSD_STOP
If RADIUSD is set to YES, billmax-admin will execute the value for RADIUSD_START to start the Daemon for the capturing accounting RADIUS data and RADIUSD_STOP to stop the Daemon.
RADMOND, RADMOND_START, RADMOND_STOP
If RADMOND is set to YES, billmax-admin will execute the value for RADMOND_START to start the radmond Daemon for monitoring and killing terminal server sessions and RADMOND_STOP to stop the Daemon.
RADMOND_USER, RADMOND_GROUP
The commands to kill terminal server sessions will be executed on behalf of the specified UNIX user and group. If radmond is to be used, it is necessary to do the following:
cd /usr/local/billmax/secure
mkdir username - username is the value for RADMOND_USER.
cd /usr/local/billmax/secure/username
ln -s /usr/bin/at
ln -s /usr/bin/atrm
Please note that these instructions assume /usr/bin is the directory for at and atrm. If this is not the case, use the appropriate director for the ln commands.
SAMBA, SMBD_START, SMBD_STOP, NMBD_START, NMBD_STOP
If SAMBA is set to YES, billmax-admin will execute the value for SMBD_START and NMBD_START to start the Daemons for file sharing with Windows computers and SMBD_STOP NMBD_STOP to stop the Daemons.
BMUID, BMUID_START, BMUID_STOP, BMUID_UP
If BMUID is set to YES, billmax-admin will execute the value for BMUID_START to start the bmuid Daemon for supporting self management by the end-customer and BMUID_STOP to stop the Daemon. BMUID_UP is used to determine if bmuid is running.
Variables that reference daily processes that may be run by billmax-admin.
ACTION and ACTION_PROG denote a keyword set recognized by billmax-admin. If ACTION is YES, then billmax-admin will execute ACTION_PROG. The ACTION and ACTION_PROG set are considered in the following order (only ACTION is listed):
LOAD_DATACALL - Load RADIUS data records that may have been stored in a file when the MYSQL database was unavailable.
CLOSEOFDAY - Run daily Account/User/Service processing for BillMax.
CCDAILY - Run credit card processing.
ECHDAILY - Run electronic check processing.
MAKESTATEMENTS - Generate Summary lines for Accounts and create Statements for Accounts.
SENDSTATEMENTS - E-mail, fax, or print the Statements created by MAKESTATEMENTS_PROG.
BALCHECK - Validate the Summary records in the BillMax database.
DBCK - Check the BillMax database for data errors.
Miscellaneous variables.
LOG_ROTATE
A number. Files in /usr/local/billmax/logs with a ".gz" extension that have a modification date more than LOG_ROTATE days in the past are deleted.
ISAM_ROTATE
A number. Files in /usr/local/billmax/mysql/var with a ".gz" extension that have a modification date more than ISAM_ROTATE days in the past are deleted.
MYSQLD_LOG_ROTATE_FREQUENCY
weekly or daily. weekly occurs on Sundays. Only effective if MYSQLD_START contains the option "--log-update=filename". filename is compressed and renamed to include the current date and "*.gz".
RUNHOOK_USER, RUNHOOK_GROUP
The BillMax Hooks will be executed on behalf of the specified UNIX user and group.