tomcat自启动服务,systemd启动,放在/lib/systemd/system下,然后systemctldaemon-reload,然后systemctlenabletomcat.service,设置为开机自启动