pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/gitea gitea: do not log to the console



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3d72b5eba77
branches:  trunk
changeset: 447987:e3d72b5eba77
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Mon Mar 01 23:47:09 2021 +0000

description:
gitea: do not log to the console

When started as a service, gitea logs directly to the console, in
addition to its own log files. This change redirects the standard output
to /dev/null.

Bumps PKGREVISION.

diffstat:

 www/gitea/Makefile       |  4 ++--
 www/gitea/files/gitea.sh |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r c23a8ec00f1a -r e3d72b5eba77 www/gitea/Makefile
--- a/www/gitea/Makefile        Mon Mar 01 23:31:30 2021 +0000
+++ b/www/gitea/Makefile        Mon Mar 01 23:47:09 2021 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.48 2021/01/23 14:23:13 bsiegert Exp $
+# $NetBSD: Makefile,v 1.49 2021/03/01 23:47:09 khorben Exp $
 
 DISTNAME=      gitea-1.12.6
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=go-gitea/}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    www
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 
diff -r c23a8ec00f1a -r e3d72b5eba77 www/gitea/files/gitea.sh
--- a/www/gitea/files/gitea.sh  Mon Mar 01 23:31:30 2021 +0000
+++ b/www/gitea/files/gitea.sh  Mon Mar 01 23:47:09 2021 +0000
@@ -1,6 +1,6 @@
 #!@RCD_SCRIPTS_SHELL@
 #
-# $NetBSD: gitea.sh,v 1.2 2019/08/04 12:26:59 nia Exp $
+# $NetBSD: gitea.sh,v 1.3 2021/03/01 23:47:09 khorben Exp $
 #
 # PROVIDE: gitea
 # REQUIRE: DAEMON
@@ -11,7 +11,7 @@
 rcvar=${name}
 required_files="@PKG_SYSCONFDIR@/conf/app.ini"
 command="@PREFIX@/sbin/gitea"
-command_args="--config @PKG_SYSCONFDIR@/conf/app.ini web &"
+command_args="--config @PKG_SYSCONFDIR@/conf/app.ini web > /dev/null &"
 
 gitea_env="GITEA_WORK_DIR=@GITEA_SHARE_DIR@"
 gitea_env="${gitea_env} GITEA_CUSTOM=@PKG_SYSCONFDIR@"



Home | Main Index | Thread Index | Old Index