Update java_servicefile

This commit is contained in:
nagarjuna33 2023-03-16 16:47:44 +05:30 committed by GitHub
parent fec8e1d97c
commit c3a12c4899
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,11 +5,11 @@ User=ansible
# The configuration file application.properties should be here:
#change this to your workspace
WorkingDirectory=/home/ansible/remote/workspace/
#path to executable.
#executable is a bash script which calls jar file
ExecStart=/usr/bin/java -jar spring-petclinic-2.7.3.jar
ExecStart=/usr/bin/java -jar /home/ansible/remote/workspace/springpet/target/spring-petclinic-2.7.3.jar
SuccessExitStatus=143
TimeoutStopSec=10