From 471030e976b4885f467c24238f5508bb30129e36 Mon Sep 17 00:00:00 2001 From: nagarjuna33 <115863146+nagarjuna33@users.noreply.github.com> Date: Thu, 16 Mar 2023 16:50:21 +0530 Subject: [PATCH] Update java_servicefile --- java_servicefile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/java_servicefile b/java_servicefile index e9fdbc679..b00107230 100644 --- a/java_servicefile +++ b/java_servicefile @@ -1,20 +1,11 @@ [Unit] Description=springpetclinic java application + [Service] User=ansible -# The configuration file application.properties should be here: - -#change this to your workspace - - #path to executable. -#executable is a bash script which calls jar file ExecStart=/usr/bin/java -jar /home/ansible/remote/workspace/springpet/target/spring-petclinic-2.7.3.jar - SuccessExitStatus=143 -TimeoutStopSec=10 -Restart=on-failure -RestartSec=5 [Install] WantedBy=multi-user.target