Auto restart lighttpd on crash

To restart lighttpd if it went down or crashed, create a file check_lighttpd.sh

With the following content

Make it executable

Create a file up.html on web root of your web site

Now set a cronjob to run every 5 minutes

Add following cronjob

See lighttpd

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *