--- extra/Makefile.am | 2 +- extra/logrotate/Makefile.am | 5 +++++ extra/logrotate/pacemaker.conf.in | 7 +++++++ 3 files changed, 13 insertions(+), 1 deletions(-) create mode 100644 extra/logrotate/Makefile.am create mode 100644 extra/logrotate/pacemaker.conf.in
diff --git a/extra/Makefile.am b/extra/Makefile.am index d9e3360..6fe0a28 100644 --- a/extra/Makefile.am +++ b/extra/Makefile.am @@ -18,7 +18,7 @@ MAINTAINERCLEANFILES = Makefile.in -SUBDIRS = resources rgmanager rsyslog +SUBDIRS = resources rgmanager rsyslog logrotate mibdir = $(datadir)/snmp/mibs mib_DATA = PCMK-MIB.txt diff --git a/extra/logrotate/Makefile.am b/extra/logrotate/Makefile.am new file mode 100644 index 0000000..8e400a4 --- /dev/null +++ b/extra/logrotate/Makefile.am @@ -0,0 +1,5 @@ +MAINTAINERCLEANFILES = Makefile.in + +logrotatedir = $(sysconfdir)/logrotate.d + +logrotate_DATA = pacemaker.conf diff --git a/extra/logrotate/pacemaker.conf.in b/extra/logrotate/pacemaker.conf.in new file mode 100644 index 0000000..3edd17e --- /dev/null +++ b/extra/logrotate/pacemaker.conf.in @@ -0,0 +1,7 @@ +@localstatedir@/log/@PACKAGE_TARNAME@/*.log { + rotate 4 + weekly + compress + missingok + notifempty +} -- 1.7.5.4 _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org