Control Web Panel

Developers => Scripts => Topic started by: ercan on May 23, 2020, 05:24:07 AM

Title: reboot if lamp is down
Post by: ercan on May 23, 2020, 05:24:07 AM
hi;
I want to auto restart my server if somehow apache or mysql get down.

does anyone built any script something like that ? any idea how can I do that ?
Title: Re: reboot if lamp is down
Post by: rcschaff on May 23, 2020, 07:17:06 AM
Please don't post twice on 2 different boards for the same issue.

https://www.itzgeek.com/how-tos/linux/centos-how-tos/monitor-and-manage-services-with-monit-on-centos-7-rhel-7.html