tomcat启动停止脚本: vim /usr/lib/systemd/system/tomcat.service [Unit] Description=Tomcat After=network.target [Service] Type