diff options
Diffstat (limited to 'net-misc/i2pd/files/i2pd.logrotate')
-rw-r--r-- | net-misc/i2pd/files/i2pd.logrotate | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-misc/i2pd/files/i2pd.logrotate b/net-misc/i2pd/files/i2pd.logrotate new file mode 100644 index 0000000..790cd2a --- /dev/null +++ b/net-misc/i2pd/files/i2pd.logrotate @@ -0,0 +1,14 @@ +/var/log/i2pd.log { + rotate 4 + weekly + missingok + notifempty + compress + delaycompress + copytruncate + create 640 i2pd i2pd + postrotate + /etc/init.d/i2pd restart >/dev/null + endscript +} + |