check file nginx-blog with path /var/log/nginx/blog.access.log if timestamp > 2 minutes for 5 cycles then exec "/bin/systemctl restart nginx"