WIP adding log rotation
This commit is contained in:
parent
bd845a016d
commit
0eff2acb14
2 changed files with 22 additions and 0 deletions
11
python_apps/airtime_analyzer/airtime-analyzer.logrotate
Normal file
11
python_apps/airtime_analyzer/airtime-analyzer.logrotate
Normal file
|
@ -0,0 +1,11 @@
|
|||
/var/log/airtime/airtime_analyzer.log {
|
||||
compress
|
||||
rotate 10
|
||||
size 1000k
|
||||
missingok
|
||||
notifempty
|
||||
sharedscripts
|
||||
postrotate
|
||||
start-stop-daemon --stop --signal USR1 --quiet --pidfile /var/run/airtime/airtime-liquidsoap.pid
|
||||
endscript
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue