,

Use a script to restart critical Linux services such as the web or database server. Restart nginx, apache2, MySQL or PHP-fpm automatically.

 If you manage your own WordPress web server then you have undoubtedly come across many situations where your web apache, nginx, MySQL or PHP-fpm services have stopped.Sometimes the reason is unknown and things just crash from time to time.Using the Linux crontab service we can write a simple bash script to test to see if these services have stopped and restart them.You can use whatever editor...
Continue reading Use a script to restart critical Linux services such as the web or database server. Restart nginx, apache2, MySQL or PHP-fpm automatically.