Fix restart tomcat on Ubuntu