mirror of
https://github.com/neocities/neocities.git
synced 2025-08-04 08:42:00 +02:00
add lsyncd config
This commit is contained in:
parent
73adf1f984
commit
6ccabdc5f4
3 changed files with 54 additions and 0 deletions
13
vagrant/fs-primary/etc/logrotate.d/lsyncd
Normal file
13
vagrant/fs-primary/etc/logrotate.d/lsyncd
Normal file
|
@ -0,0 +1,13 @@
|
|||
/var/log/lsyncd*.log {
|
||||
monthly
|
||||
missingok
|
||||
rotate 7
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
su root root
|
||||
sharedscripts
|
||||
postrotate
|
||||
[ -s /run/lsyncd.pid ] && /usr/sbin/service lsyncd restart > /dev/null 2>/dev/null || true
|
||||
endscript
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue