/var/log/naatd/access.log {
    missingok
    notifempty
    compress
    postrotate
	# only restart if naatd is really running
	if test -n "`ps acx|grep naatd`"; then
		/sbin/service naatd restart
	fi
    endscript
}
