From 9f37e11386de496f927a71f485d255e0843249e4 Mon Sep 17 00:00:00 2001 From: Dzmitry Rudnouski Date: Wed, 28 Aug 2024 12:39:22 +0300 Subject: [PATCH] use var in WorkingDirectory --- templates/jenkins_system_config/jenkins.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/jenkins_system_config/jenkins.service b/templates/jenkins_system_config/jenkins.service index aaaf823..038edd8 100644 --- a/templates/jenkins_system_config/jenkins.service +++ b/templates/jenkins_system_config/jenkins.service @@ -25,7 +25,7 @@ Group={{ jenkins2_user }} # Directory where Jenkins stores its configuration and workspaces Environment="JENKINS_HOME={{ jenkins2_home_directory }}" -WorkingDirectory=/var/lib/jenkins +WorkingDirectory={{ jenkins2_home_directory }} # Location of the Jenkins WAR Environment="JENKINS_WAR=/usr/share/java/jenkins.war"