diff wflogs-daemon.spec.in @ 4:37eace15ef87

allow hourly/daily/weekly triggers for output generation, append to temp wflogs input files so daemon restart won't drop as much data
author Carl Byington <carl@five-ten-sg.com>
date Fri, 17 May 2013 12:03:21 -0700
parents 400b1de6e1c6
children
line wrap: on
line diff
--- a/wflogs-daemon.spec.in	Fri May 17 10:37:25 2013 -0700
+++ b/wflogs-daemon.spec.in	Fri May 17 12:03:21 2013 -0700
@@ -33,6 +33,7 @@
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
+mkdir -p $RPM_BUILD_ROOT/var/lib/%{name}
 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/%{name}        $RPM_BUILD_ROOT/etc/rc.d/init.d
 
 
@@ -62,6 +63,7 @@
 %{_mandir}/man5/*
 %docdir %{_datadir}/doc/%{name}-%{version}
 %{_datadir}/doc/%{name}-%{version}
+/var/lib/%{name}/
 %config(noreplace) %{_sysconfdir}/%{name}.conf
 /etc/rc.d/init.d/%{name}
 
@@ -69,6 +71,7 @@
 %changelog
 * Fri May 17 2013 Carl Byington <carl@five-ten-sg.com> - 1.1-1
 - allow multiple config contexts
+- output optionally triggered by hourly/daily/weekly rollover
 
 * Wed May 15 2013 Carl Byington <carl@five-ten-sg.com> - 1.0-1
 - initial revision