3 lines
146 B
Plaintext
3 lines
146 B
Plaintext
|
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"
|