summaryrefslogtreecommitdiffstats
path: root/funcweb/etc/funcweb_rotate
diff options
context:
space:
mode:
authormakkalot <makkalot@gmail.com>2008-07-09 22:46:11 +0300
committermakkalot <makkalot@gmail.com>2008-07-09 22:46:11 +0300
commit886c520e74cdd80266b1dca3826e4abab9dbbb0b (patch)
tree61fb8929bd2b72228823ce44682e205d86ea4abf /funcweb/etc/funcweb_rotate
parent3f613fcc3f6322706ad1b73fa68664ab413ca0c5 (diff)
downloadfunc-886c520e74cdd80266b1dca3826e4abab9dbbb0b.tar.gz
func-886c520e74cdd80266b1dca3826e4abab9dbbb0b.tar.xz
func-886c520e74cdd80266b1dca3826e4abab9dbbb0b.zip
logrotate file based on func's logrotate :)
Diffstat (limited to 'funcweb/etc/funcweb_rotate')
-rw-r--r--funcweb/etc/funcweb_rotate12
1 files changed, 12 insertions, 0 deletions
diff --git a/funcweb/etc/funcweb_rotate b/funcweb/etc/funcweb_rotate
new file mode 100644
index 0000000..864011b
--- /dev/null
+++ b/funcweb/etc/funcweb_rotate
@@ -0,0 +1,12 @@
+/var/log/funcweb/server.log {
+ missingok
+ notifempty
+ rotate 4
+ weekly
+ postrotate
+ if [ -f /var/lock/subsys/funcwebd ]; then
+ /etc/init.d/funcwebd condrestart
+ fi
+ endscript
+}
+