I created a startup script for my application in CentOS, so I can use the following commands to initialize / stop the application:
service django_app start
service django_app stop
How do I make sure this service is always running?
For example, if there are any errors in the application and the service is terminated, is there any way to restart the service automatically in CentOS?