aboutsummaryrefslogtreecommitdiff
path: root/beam.conf
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-06-26 11:53:20 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-06-26 11:53:20 +0300
commit3932856031189f0c242483068cdd8eaf44429fc8 (patch)
tree7a558e9a394e13bf0fb68faf03bfd71ebeaa71c6 /beam.conf
parent9e95716abf0a45e0ee11b1a313f684df71d7188a (diff)
downloadbeam-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.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/beam.conf b/beam.conf
index 5bdec80..e6a7403 100644
--- a/beam.conf
+++ b/beam.conf
@@ -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=

Return to:

Send suggestions and report system problems to the System administrator.