Merge pull request #1 from jnylen/master
[nonametv.git] / examples / logrotate
blobbec85f04fe19734ff4811a035f5e023a2521aa21
1 /var/log/nonametv.log {
2   rotate 5
3   size 200k
4   compress
5   missingok
6   prerotate
7     invoke-rc.d dire-encoder stop || true
8   endscript
10   postrotate
11     # Only starts dire-encoder if it is supposed to
12     # run in the current run-level
13     invoke-rc.d dire-encoder start || true
14   endscript