[Unit] Description=tomcat After=network.target remote-fs.target nss-lookup.target [Service] Type=forking ExecStart=/serve/tomcat/bin/startup.sh ExecReload=/bin/kill -s HUP $MAINPID ExecStop=/bin/kill -s QUIT $MAINPID PrivateTmp=true [Install] WantedBy=multi-user.target