wingo - in flumotion/trunk: . doc doc/redhat
flumotion-commit at lists.fluendo.com
flumotion-commit at lists.fluendo.com
Mon Jan 22 16:38:29 CET 2007
Author: wingo
Date: Mon Jan 22 16:38:26 2007
New Revision: 4418
Added:
flumotion/trunk/doc/redhat/flumotion.logrotate
Modified:
flumotion/trunk/ChangeLog
flumotion/trunk/doc/Makefile.am
flumotion/trunk/flumotion.spec.in
Log:
2007-01-22 Andy Wingo <wingo at pobox.com>
* flumotion.spec.in:
* doc/Makefile.am (EXTRA_DIST):
* doc/redhat/flumotion.logrotate: Install a logrotate file.
Modified: flumotion/trunk/ChangeLog
==============================================================================
--- flumotion/trunk/ChangeLog (original)
+++ flumotion/trunk/ChangeLog Mon Jan 22 16:38:26 2007
@@ -1,3 +1,9 @@
+2007-01-22 Andy Wingo <wingo at pobox.com>
+
+ * flumotion.spec.in:
+ * doc/Makefile.am (EXTRA_DIST):
+ * doc/redhat/flumotion.logrotate: Install a logrotate file.
+
2007-01-22 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* flumotion/component/consumers/disker/disker.py:
@@ -10,6 +16,7 @@
* flumotion.spec.in: Make log, run, and cache dirs root:flumotion
770 so that flumotion can rotate logs, manage its PID file, and
also the registry cache.
+ (user):
2007-01-21 Andy Wingo <wingo at pobox.com>
Modified: flumotion/trunk/doc/Makefile.am
==============================================================================
--- flumotion/trunk/doc/Makefile.am (original)
+++ flumotion/trunk/doc/Makefile.am Mon Jan 22 16:38:26 2007
@@ -2,4 +2,5 @@
EXTRA_DIST = \
redhat/flumotion \
+ redhat/flumotion.logrotate \
redhat/make-dummy-cert
Added: flumotion/trunk/doc/redhat/flumotion.logrotate
==============================================================================
--- (empty file)
+++ flumotion/trunk/doc/redhat/flumotion.logrotate Mon Jan 22 16:38:26 2007
@@ -0,0 +1,10 @@
+/var/log/flumotion/* {
+ missingok
+ notifempty
+ postrotate
+ find /var/run/flumotion -print | while read f; do
+ /usr/bin/kill -HUP `cat $f` 2>/dev/null || true
+ done
+ endscript
+}
+
Modified: flumotion/trunk/flumotion.spec.in
==============================================================================
--- flumotion/trunk/flumotion.spec.in (original)
+++ flumotion/trunk/flumotion.spec.in Mon Jan 22 16:38:26 2007
@@ -116,6 +116,10 @@
install -d $RPM_BUILD_ROOT%{_localstatedir}/run/flumotion
install -d $RPM_BUILD_ROOT%{_localstatedir}/cache/flumotion
+# Install the logrotate entry
+%{__install} -m 0644 -D doc/redhat/flumotion.logrotate \
+ %{buildroot}%{_sysconfdir}/logrotate.d/flumotion
+
%find_lang flumotion
%clean
More information about the flumotion-commit
mailing list