aboutsummaryrefslogtreecommitdiff
path: root/backup.in
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 /backup.in
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 'backup.in')
-rw-r--r--backup.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/backup.in b/backup.in
index 55fa323..046953d 100644
--- a/backup.in
+++ b/backup.in
@@ -122,6 +122,7 @@ backup() {
}
if [ -n "$backup_logfile" ]; then
+ runhook openlog_hook
exec >>$backup_logfile
exec 2>&1
fi

Return to:

Send suggestions and report system problems to the System administrator.