mirror of
https://github.com/openSUSE/osem.git
synced 2025-12-23 22:28:15 -05:00
Add a logrotate configuration for production
This commit is contained in:
13
dist/osem.logrotate
vendored
Normal file
13
dist/osem.logrotate
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/home/osem/events/shared/log/*.log {
|
||||
compress
|
||||
dateext
|
||||
maxage 31
|
||||
rotate 99
|
||||
size=+4096k
|
||||
missingok
|
||||
notifempty
|
||||
create 644 osem osem
|
||||
postrotate
|
||||
/usr/bin/touch /home/osem/events/current/tmp/restart.txt
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user