Chapter 19. Configuration Parameters
Prev | Part III. Lire Reference | Next

## Chapter 19. Configuration Parameters

Configuration variables are set in `${prefix}/etc/lire/defaults`. If you want to override any of these variables, create a file `${prefix}/etc/lire/defaults.local`. This will not be touched when upgrading the system.

If you don't like fiddling with configuration files manually, you can use the interactive lr_config script to set things up for you. Just start that script now, and use the rest of this section as a reference when needed.

Users can create their own `~/.lire/etc/defaults` file. Settings in this file get added to (and possibly override) the ones in `${prefix}/lire/defaults`. Users might like to set e.g.

    TMPDIR=$HOME/lire/tmp/.

(after creating this directory) in their `~/.lire/etc/defaults` files.

## General Configuration Parameters

These are the parameters you most likely want to modify:

`LR_DEFAULT_OUTPUT_FORMAT`

  This sets the report's default output format. It can be one of `txt`, `xml`, `html`, `xhtml`, `pdf`, `logml`, `rtf` or `docbookx`.

`LR_SCALE_BYTES`

  This parameter controls whether bytes values will get scaled to a more human readable format (`22.1M`, `5.0k`, etc.) in reports.

`LR_SCALE_SEC`

  This parameter controls whether duration values will get scaled to a more human readable format (`1h`, `23.1m`, etc.) in reports.

`LR_SCALE_NUMBER`

  This parameter controls whether number values will get scaled to a more human readable format (`1M`, `3.4k`, etc.) in reports.

`LR_TARGET_USER`

  This sets the report's reader profile. Valid values are `sysadmin` or `manager`. Lire will tune the subreports' descriptions for that class of reader.

`LR_USERLEVEL`

  This sets the amount of details you will get in subreport's description. Valid values are `normal` or `advanced`.

`LR_INCLUDEIMAGES`

  When this variable is set to `1`, Lire will include charts whenever possible in the generated report.

`LR_ARCHIVE`

  This variable controls whether files are archived. Files which are candidates for archiving are moved from `$TMPDIR` to the archive. Furthermore, metainfo about the archived files gets stored in a Lire database.

`LR_ARCHIVEDIR`

  This variable sets the directory where files which are canditates for archiving will be archived.

  Defaults to ``${prefix}`/var/lib/lire`.

Prev | Up | Next
Installation Environment Variables | Home | Responder Configuration Parameters