summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-28 11:57:20 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-28 11:57:20 -0400
commit26484bb11dd87f2d3d06483ac29b7862aeb1fe15 (patch)
tree886f4e4118e4b46bf841b5e905f495a3eb91c3f5 /etc
parentf45db33f393ba171fa8fe8b53a348e25d14b5e6c (diff)
downloadfunc-26484bb11dd87f2d3d06483ac29b7862aeb1fe15.tar.gz
func-26484bb11dd87f2d3d06483ac29b7862aeb1fe15.tar.xz
func-26484bb11dd87f2d3d06483ac29b7862aeb1fe15.zip
Bump func version for release, add BuildRequires + logrotate script
Diffstat (limited to 'etc')
-rw-r--r--etc/func_rotate19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/func_rotate b/etc/func_rotate
new file mode 100644
index 0000000..e12edfb
--- /dev/null
+++ b/etc/func_rotate
@@ -0,0 +1,19 @@
+/var/log/func/audit.log {
+ missingok
+ notifempty
+ rotate 4
+ weekly
+ postrotate
+ if [ -f /var/lock/subsys/funcd ]; then
+ /etc/init.d/funcd condrestart
+ fi
+ endscript
+}
+
+/var/log/func/func.log {
+ missingok
+ notifempty
+ rotate 4
+ weekly
+}
+