jetty-home/src/main/resources/bin/jetty.service
raw| 1 | [Unit] |
| 2 | Description=Jetty Web Application Server |
| 3 | After=syslog.target network.target remote-fs.target nss-lookup.target |
| 4 | |
| 5 | [Service] |
| 6 | Type=forking |
| 7 | PIDFile=/opt/web/mybase/jetty.pid |
| 8 | ExecStart=/etc/init.d/jetty start |
| 9 | ExecStop=/etc/init.d/jetty stop |
| 10 | ExecReload=/etc/init.d/jetty restart |
| 11 | User=jetty |
| 12 | Group=jetty |
| 13 | |
| 14 | [Install] |
| 15 | WantedBy=multi-user.target |