git: d55cb163606b - main - devel/jenkins-lts: Use native log parameter instead of >> ${jenkins_log_file}
Li-Wen Hsu
lwhsu at FreeBSD.org
Sun Jun 20 00:52:21 UTC 2021
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d55cb163606b99ff4c43592ede3feb037891fa9b
commit d55cb163606b99ff4c43592ede3feb037891fa9b
Author: Li-Wen Hsu <lwhsu at FreeBSD.org>
AuthorDate: 2021-06-20 00:52:06 +0000
Commit: Li-Wen Hsu <lwhsu at 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
More information about the dev-commits-ports-all
mailing list