summaryrefslogtreecommitdiff
path: root/www-servers/h2o/files/h2o.logrotate
blob: 166b6e7f17b7f0d7dd596625521e3aa36ddcd201 (plain)
1
2
3
4
5
6
7
8
9
10
11
# h2o logrotate script for Gentoo

/var/log/h2o/*.log {
	missingok
	notifempty
	sharedscripts
	delaycompress
	postrotate
		/bin/kill -HUP $(grep pid-file "/etc/h2o/h2o.conf" | cut -d' ' -f2 | cat) 2>/dev/null || true
	endscript
}