Date: Mon, 2 Jan 2023 16:20:56 GMT From: Mikael Urankar <mikael@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a95cefb83ffa - main - www/redmine50: fix logfile path for thin server Message-ID: <202301021620.302GKuQu025175@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=a95cefb83ffa8ded832dc7dafbc50064acb1213e commit a95cefb83ffa8ded832dc7dafbc50064acb1213e Author: Oleg Ginzburg <olevole@olevole.ru> AuthorDate: 2023-01-02 16:19:12 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2023-01-02 16:20:11 +0000 www/redmine50: fix logfile path for thin server The ruby 'thin' server does not use an absolute path for logs file/dir. This leads to problems running Redmine on readonly bases. PR: 268641 --- www/redmine50/Makefile | 1 + www/redmine50/files/redmine.in | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/www/redmine50/Makefile b/www/redmine50/Makefile index 119d7416ae5d..985eff2832e4 100644 --- a/www/redmine50/Makefile +++ b/www/redmine50/Makefile @@ -1,5 +1,6 @@ PORTNAME= redmine PORTVERSION= 5.0.4 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= https://www.redmine.org/releases/ PKGNAMESUFFIX= 50 diff --git a/www/redmine50/files/redmine.in b/www/redmine50/files/redmine.in index 9e3c6d276b3c..00c82fa55d55 100644 --- a/www/redmine50/files/redmine.in +++ b/www/redmine50/files/redmine.in @@ -20,6 +20,7 @@ rcvar=redmine_enable command=ruby%%RUBY_SUFFIX%% pidfile="%%WWWDIR%%/tmp/pids/thin.pid" +logfile="/var/log/thin.log" load_rc_config $name @@ -32,7 +33,7 @@ export PATH=$PATH:%%PREFIX%%/bin : ${redmine_user="%%WWWOWN%%"} : ${redmine_group="%%WWWGRP%%"} -command_args="-d -D -c %%WWWDIR%% -u ${redmine_user} -g ${redmine_group}" +command_args="-d -D -c %%WWWDIR%% -u ${redmine_user} -g ${redmine_group} --log ${logfile}" start_cmd="%%PREFIX%%/bin/thin ${command_args} ${redmine_flags} start" run_rc_command "$1"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301021620.302GKuQu025175>