Merge pull request #1712 from gouessej/master

Add systemd service file #1485
This commit is contained in:
Joakim Erdfelt 2017-09-13 06:48:27 -07:00 committed by GitHub
commit f107ec8c21
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
[Unit]
Description=Jetty Web Application Server
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
Type=forking
PIDFile=/opt/web/mybase/jetty.pid
ExecStart=/etc/init.d/jetty start
ExecStop=/etc/init.d/jetty stop
ExecReload=/etc/init.d/jetty restart
User=jetty
Group=jetty
[Install]
WantedBy=multi-user.target