Tomcat init.d file or startup file for CentOS 7

Start and shutdown tomcat server in ubuntu and centos linux box