WIP adding log rotation
This commit is contained in:
parent
bd845a016d
commit
0eff2acb14
|
@ -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
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
/var/log/airtime/pypo/pypo.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…
Reference in New Issue