https://techtalkbook.com/automatic-starting-tomcat-on-ubuntu/
Automatic Starting Tomcat on ubuntu