git: af26a4b17fee - main - devel/jenkins: Use native log parameter instead of >> ${jenkins_log_file}
Li-Wen Hsu
lwhsu at FreeBSD.org
Sun Jun 20 00:50:37 UTC 2021
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=af26a4b17feeae1070cafe98139032b5a93f97bb
commit af26a4b17feeae1070cafe98139032b5a93f97bb
Author: Olli Hauer <ohauer at FreeBSD.org>
AuthorDate: 2021-06-20 00:48:26 +0000
Commit: Li-Wen Hsu <lwhsu at FreeBSD.org>
CommitDate: 2021-06-20 00:50:17 +0000
devel/jenkins: Use native log parameter instead of >> ${jenkins_log_file}
PR: 256644
---
devel/jenkins/Makefile | 1 +
devel/jenkins/files/jenkins.in | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel/jenkins/Makefile b/devel/jenkins/Makefile
index d016361a8dfd..a49e085b4356 100644
--- a/devel/jenkins/Makefile
+++ b/devel/jenkins/Makefile
@@ -1,5 +1,6 @@
PORTNAME= jenkins
PORTVERSION= 2.298
+PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= http://mirrors.jenkins-ci.org/war/${PORTVERSION}/
DISTNAME= jenkins
diff --git a/devel/jenkins/files/jenkins.in b/devel/jenkins/files/jenkins.in
index db8fb77028c5..52dcaf5274c5 100644
--- a/devel/jenkins/files/jenkins.in
+++ b/devel/jenkins/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