Advertisement
britodfbr

seattleplone_logrotate.conf.tmpl

Apr 9th, 2014
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.39 KB | None | 0 0
  1. rotate 4
  2. weekly
  3. create
  4. compress
  5. delaycompress
  6.  
  7. ${buildout:directory}/var/log/zeo.log {
  8.     postrotate
  9.         ${buildout:bin-directory}/zeo logreopen
  10.     endscript
  11. }
  12.  
  13. ${buildout:directory}/var/log/instance1.log ${buildout:directory}/var/log/instance1-Z2.log {
  14.     sharedscripts
  15.     postrotate
  16.         /bin/kill -USR2 $(cat ${buildout:directory}/var/instance1.pid)
  17.     endscript
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement