summaryrefslogtreecommitdiff
path: root/recipes-extended/logrotate/logrotate_3.8.7.bbappend
blob: 98b7b60431478ba5a374b8df4bddf4ba1c8db211 (plain)
1
2
3
4
5
6
7
8

do_install_append() {
# rotate logs hourly instead of daily
	rm -f ${D}${sysconfdir}/cron.daily/logrotate
	install -d ${D}${sysconfdir}/cron.hourly
	install -p -m 755 examples/logrotate.cron ${D}${sysconfdir}/cron.hourly/logrotate
}