Add systemd service file #1485
Signed-off-by: Julien Gouesse <gouessej@orange.fr>
This commit is contained in:
parent
cc92ad0b07
commit
9cede68b35
|
@ -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
|
Loading…
Reference in New Issue