File hiawatha.logrotate of Package hiawatha

/var/log/hiawatha/*.log {
  su wwwrun www
	compress
	dateext
	maxage 365
	rotate 99
	size=+1024k
	notifempty
	missingok
	create 640 wwwrun www
	postrotate
	systemctl reload-or-try-restart hiawatha.service
	endscript
}