diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-06-26 11:53:20 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-06-26 11:53:20 +0300 |
commit | 3932856031189f0c242483068cdd8eaf44429fc8 (patch) | |
tree | 7a558e9a394e13bf0fb68faf03bfd71ebeaa71c6 /beam.conf | |
parent | 9e95716abf0a45e0ee11b1a313f684df71d7188a (diff) | |
download | beam-3932856031189f0c242483068cdd8eaf44429fc8.tar.gz beam-3932856031189f0c242483068cdd8eaf44429fc8.tar.bz2 |
Provide a new hook, to be run prior to opening the log file.
* backup.in (backup): Run openlog_hook.
* beam.conf (openlog_hook): Document the hook.
* doc/beam.conf.5in: Likewise.
* lib/beam/common.in (load_config): Insert s3_mount at the
beginning of the prologue_hook.
Diffstat (limited to 'beam.conf')
-rw-r--r-- | beam.conf | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -19,6 +19,10 @@ echo >&2 "$0: WARNING: using default configuration boilerplate" # commands to be invoked. These commands will be invoked without arguments # and run in order of their appearance in the list. +# Commands listed in openlog_hook are run before opening the logfile. The +# most common use for this hook is to rotate an oversized logfile prior to +# opening it. +openlog_hook= # The prologue_hook is a list of commands to run before starting backup # (or restore). prologue_hook= |