Commit 5c23a121 authored by Jonathon Duerig's avatar Jonathon Duerig
Browse files

Add logrotate configuration to the FEDORA15 clientside

parent 46657907
......@@ -80,6 +80,7 @@ etc-install: dir-install sysetc-remove sysetc-install
$(INSTALL) -m 600 $(SRCDIR)/gshadow $(ETCDIR)/gshadow
$(INSTALL) -m 755 $(SRCDIR)/rc.local $(RCDIR)/rc.local
$(INSTALL) -m 755 $(SRCDIR)/testbed $(RCDIR)/init.d/testbed
$(INSTALL) -m 644 $(SRCDIR)/logrotate-syslog $(ETCDIR)/logrotate.d/syslog
@echo "fedora-specific etc-install done"
sysetc-install: ifcfgs dir-install
......
/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron /var/log/emulab.log {
compress
weekly
rotate 2
size 300M
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment