summaryrefslogtreecommitdiff
path: root/net-vpn/i2pd/files/i2pd.logrotate
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-03-21 01:40:17 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2017-03-21 01:40:17 +0300
commitd75f96dea025efec732ef8469ea9b3bb30e722f0 (patch)
tree59786387633c17feeca805dfb4874aaf82151493 /net-vpn/i2pd/files/i2pd.logrotate
parentb381158ee1526a849a43c667cfaac9b73783da4b (diff)
sync with gentoo
Diffstat (limited to 'net-vpn/i2pd/files/i2pd.logrotate')
-rw-r--r--net-vpn/i2pd/files/i2pd.logrotate14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-vpn/i2pd/files/i2pd.logrotate b/net-vpn/i2pd/files/i2pd.logrotate
new file mode 100644
index 0000000..790cd2a
--- /dev/null
+++ b/net-vpn/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
+}
+