From 0c87dd5624675411c0d1f739200abe47f3b7d7fb Mon Sep 17 00:00:00 2001 From: hagen Date: Sat, 5 Dec 2015 11:22:18 +0000 Subject: [PATCH] * added debian/logrotate (thanks to kytv) --- debian/logrotate | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 debian/logrotate diff --git a/debian/logrotate b/debian/logrotate new file mode 100644 index 00000000..a3fed79a --- /dev/null +++ b/debian/logrotate @@ -0,0 +1,13 @@ +/var/log/i2pd.log { + rotate 4 + weekly + missingok + notifempty + compress + delaycompress + copytruncate + create 640 i2pd adm + postrotate + /etc/init.d/i2pd restart >/dev/null + endscript +}