adaptor

Name

adaptor — SQL data cache generator

Synopsis

adaptor [-c config]

Description

adaptor reads table data from MySQL and builds text files that act as caches for modules that utilize them. See the FILES section for example uses.

Options

-c config

Read configuration directives from the given file. If this option is not specified, /etc/gromox/adaptor.cfg will be read if it exists.

–version

Output version information and exit.

-?

Display option summary.

Files

  • state_path/alias_addresses.txt: generated by adaptor from MySQL data, used by alias_translator(4gx).

  • state_path/console_table.txt: static file (edited by admin only) telling adaptor which consoles to contact to issue reload commands.

Configuration file directives

collector_mailbox

Default: (unset)

limit_type

Default: (unset)

log_file_path

Default: /var/log/gromox/sa.log

mysql_dbname

Default: email

mysql_host
The hostname/IP address for contacting the SQL server.
Default: localhost
mysql_password

Default: (unset)

mysql_port
The TCP port number for contacting the SQL server.
Default: 3306
mysql_username

Default: root

state_path
Directory for additional files.
Default: /var/lib/gromox
subsystem_address

Default: (unset)

See also

gromox(7)