Advertisement
alacercogitatus

logrotate command

Jan 15th, 2014
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. /opt/syslogs/*/*.log {
  2. rotate 0
  3. maxage 100
  4. size 5M
  5. postrotate
  6. /etc/init.d/syslog-ng restart > /dev/null 2>&1 || true
  7. endscript
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement