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 +}