08-07-2019, 06:55 AM
|
#2
|
Senior Member
Registered: Sep 2018
Distribution: Linux Mint 19.1 Tessa & 19.3 Tricia
Posts: 1,314
Rep:
|
Good article.
Quote:
There are many reasons for the process to crash/go down on Linux system, which you can investigate and fix the issue but it may take a while.
But one thing you can do it immediately to bring the service back to online is to auto start when it goes down, which eventually reduce the downtime for better availability.
It’s make sure that your service will be always available for users access.
It’s very easy to automate this on systemd systems since systemd has an options to enable this.
It can be done by bash script. We already had developed a bash script to automatically start a services when it’s crash on Linux.
|
|
|
|