From c3a12c4899ea454e42f953c00c4500c984d99578 Mon Sep 17 00:00:00 2001 From: nagarjuna33 <115863146+nagarjuna33@users.noreply.github.com> Date: Thu, 16 Mar 2023 16:47:44 +0530 Subject: [PATCH] Update java_servicefile --- java_servicefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java_servicefile b/java_servicefile index 244ad931a..e9fdbc679 100644 --- a/java_servicefile +++ b/java_servicefile @@ -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