[DRE-commits] [SCM] unicorn.git branch, master, updated. upstream/4.2.0-13-gb17d23c

Hleb Valoshka 375GNU at Gmail.COM
Sun Mar 4 17:35:08 UTC 2012


The following commit has been merged in the master branch:
commit 1c407d0779d16ade7ea672c5940155269f5b9d7c
Author: Hleb Valoshka <375GNU at Gmail.COM>
Date:   Sun Mar 4 18:35:05 2012 +0300

    add config for logrotate

diff --git a/debian/logrotate b/debian/logrotate
new file mode 100644
index 0000000..2e6b70f
--- /dev/null
+++ b/debian/logrotate
@@ -0,0 +1,11 @@
+/var/log/unicorn/*.log {
+  daily
+  missingok
+  rotate 7
+  compress
+  delaycompress
+
+  lastaction
+  invoke-rc.d unicorn reopen-logs
+  endscript
+}

-- 
unicorn.git



More information about the Pkg-ruby-extras-commits mailing list