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 /lib/beam/common.in | |
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 'lib/beam/common.in')
-rw-r--r-- | lib/beam/common.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/beam/common.in b/lib/beam/common.in index 519b23a..b9df1b0 100644 --- a/lib/beam/common.in +++ b/lib/beam/common.in @@ -19,6 +19,7 @@ LC_ALL=C export LC_ALL +openlog_hook= prologue_hook= epilogue_hook= @@ -101,7 +102,7 @@ $type" if [ -n "$backup_bucket_name" ]; then . @LIBDIR@/beam/s3.sh - prologue_hook="$prologue_hook s3_mount" + prologue_hook="s3_mount $prologue_hook" fi } |