mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 11:44:02 +00:00
Add a logrotate configuration for production
This commit is contained in:
parent
959d5af1e4
commit
40c9f47c70
1 changed files with 13 additions and 0 deletions
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
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue