# Systemd unit file for tomcat [Unit] Description=Web Socket PHP After=syslog.target network.target [Service] Type=forking ExecStart=/var/www/html/production/webapps/plugins/websocket/startup.sh ExecStop=/var/www/html/production/webapps/plugins/websocket/shutdown.sh Restart=on-failure [Install] WantedBy=multi-user.target