Compress program

From TinyMUX
Revision as of 22:09, 16 July 2007 by Mark (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CONFIG PARAMETER: compress_program <path>

DEFAULT: gzip

This option specifies the program to be run to compress the database file when it is written. If database file compression is enabled, database dumps are piped through this program on their way out to disk. If compress_program is changed, the uncompress_program should be changed to match. Failing to change both to compatible compression programs will have unpredictable results.

This configuration option cannot be changed after the server starts. It can only be changed via the configuration file.

Example

Within the configuration file, the following lines change the compression and uncompression program from gzip to bzip2 / gunzip to bunzip2, respectively..

compress_program  /usr/bin/bzip2
uncompress_program /usr/bin/bunzip2


Related Topics

Configuration, compression, uncompress_program