Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jun 2021 00:52:21 GMT
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d55cb163606b - main - devel/jenkins-lts: Use native log parameter instead of >> ${jenkins_log_file}
Message-ID:  <202106200052.15K0qLL5036598@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d55cb163606b99ff4c43592ede3feb037891fa9b

commit d55cb163606b99ff4c43592ede3feb037891fa9b
Author:     Li-Wen Hsu <lwhsu@FreeBSD.org>
AuthorDate: 2021-06-20 00:52:06 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-06-20 00:52:06 +0000

    devel/jenkins-lts: Use native log parameter instead of >> ${jenkins_log_file}
---
 devel/jenkins-lts/Makefile         | 1 +
 devel/jenkins-lts/files/jenkins.in | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/jenkins-lts/Makefile b/devel/jenkins-lts/Makefile
index 167400c7678c..20021a087a01 100644
--- a/devel/jenkins-lts/Makefile
+++ b/devel/jenkins-lts/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	jenkins
 PORTVERSION=	2.289.1
+PORTREVISION=	1
 CATEGORIES=	devel java
 MASTER_SITES=	http://mirrors.jenkins-ci.org/war-stable/${PORTVERSION}/
 PKGNAMESUFFIX=	-lts
diff --git a/devel/jenkins-lts/files/jenkins.in b/devel/jenkins-lts/files/jenkins.in
index db8fb77028c5..52dcaf5274c5 100644
--- a/devel/jenkins-lts/files/jenkins.in
+++ b/devel/jenkins-lts/files/jenkins.in
@@ -59,7 +59,7 @@ pidfile=/var/run/jenkins/jenkins.pid
 command=/usr/sbin/daemon
 java_cmd="${jenkins_java_home}/bin/java"
 procname="${java_cmd}"
-command_args="-p ${pidfile} ${java_cmd} -DJENKINS_HOME=${jenkins_home} ${jenkins_java_opts} -jar %%DATADIR%%/jenkins.war ${jenkins_args} >> ${jenkins_log_file} 2>&1"
+command_args="-p ${pidfile} ${java_cmd} -DJENKINS_HOME=${jenkins_home} ${jenkins_java_opts} -jar %%DATADIR%%/jenkins.war ${jenkins_args} --logfile=${jenkins_log_file}"
 required_files="${java_cmd}"
 
 start_precmd=jenkins_prestart



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106200052.15K0qLL5036598>