500 Internal Server Error

Originally published at: https://blog.opensubtitles.com/opensubtitlesorg/500-internal-server-error

Solution is pretty simple, every 2 minutes is running script, which check if 500, and if yes, it restarts server.