mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-23 17:36:37 +02:00
* added debian/logrotate (thanks to kytv)
This commit is contained in:
parent
b87f986a49
commit
0c87dd5624
1 changed files with 13 additions and 0 deletions
13
debian/logrotate
vendored
Normal file
13
debian/logrotate
vendored
Normal file
|
@ -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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue