Added service file
Created build config Changed default port
This commit is contained in:
parent
5565fd2201
commit
67866265ba
3 changed files with 65 additions and 3 deletions
14
OebbApi.service
Normal file
14
OebbApi.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=A App reading and Collating OEBB Delays for Info Orbs
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/opt/OebbApi
|
||||
SyslogIdentifier=OebbApi
|
||||
ExecStart=/usr/bin/java -jar /opt/OebbApi/OebbApi.jar
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue