I've RHEL server where security team keeps on applying security patches every month and then reboot the server. I've apache tomcat installed on RHEL server and a web application (HTML/CSS/Javascript front end and Spring boot backend) running (WAR deployed). After every security patching, I notice 503 Service Unavailable on my web browser and I have to manually start the apache tomcat server (sudo bin/startup.sh
) everytime. Is there a way this can be configured in RHEL server so that I don't have to manually start the server everytime after patching is done?
Spring boot has it's own embedded tomcat server which I am not using in this case since I am deploying my app as a WAR in the tomcat server installed on RHEL server.