summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/i2pd/files/i2pd.logrotate')
-rw-r--r--net-misc/i2pd/files/i2pd.logrotate14
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 000000000000..790cd2a2693d
--- /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
+}
+