aboutsummaryrefslogtreecommitdiff
path: root/beam.conf
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-06-26 19:14:01 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2012-06-26 19:16:43 +0300
commit380b7047132b7747999c2bca1164671f5fb8c604 (patch)
tree91c229d9d70deb5a6fd1144a20fa4aeb59784619 /beam.conf
parent3932856031189f0c242483068cdd8eaf44429fc8 (diff)
downloadbeam-380b7047132b7747999c2bca1164671f5fb8c604.tar.gz
beam-380b7047132b7747999c2bca1164671f5fb8c604.tar.bz2
Provide a default log rotate hook.
* Makefile.am (build.sed): Define LOCALSTATEDIR and DATAROOTDIR. * beam.conf (openlog_hook): Initialize to beam_logrotate. * doc/beam.conf.5in: Document openlog_hook and its default. * lib/beam/common.in (beam_logrotate): New function.
Diffstat (limited to 'beam.conf')
-rw-r--r--beam.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/beam.conf b/beam.conf
index e6a7403..244ada7 100644
--- a/beam.conf
+++ b/beam.conf
@@ -22,7 +22,7 @@ echo >&2 "$0: WARNING: using default configuration boilerplate"
# 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=
+openlog_hook=beam_logrotate
# 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.