Date: Mon, 20 Jul 2020 16:07:41 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r542653 - in head/www/kcgi: . files Message-ID: <202007201607.06KG7fjh078529@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Jul 20 16:07:41 2020 New Revision: 542653 URL: https://svnweb.freebsd.org/changeset/ports/542653 Log: kcgi: patch the rc script kcgi knows how to reload with SIGHUP so allow reloading via the script Tell daemon(8) so sent logs to syslog Submitted by: June Bug <june@causal.agency> (by email) Modified: head/www/kcgi/Makefile head/www/kcgi/files/kfcgi.in Modified: head/www/kcgi/Makefile ============================================================================== --- head/www/kcgi/Makefile Mon Jul 20 16:05:08 2020 (r542652) +++ head/www/kcgi/Makefile Mon Jul 20 16:07:41 2020 (r542653) @@ -2,6 +2,7 @@ PORTNAME= kcgi PORTVERSION= 0.12.1 +PORTREVISION= 1 CATEGORIES= www devel MASTER_SITES= http://kristaps.bsd.lv/kcgi/snapshots/ Modified: head/www/kcgi/files/kfcgi.in ============================================================================== --- head/www/kcgi/files/kfcgi.in Mon Jul 20 16:05:08 2020 (r542652) +++ head/www/kcgi/files/kfcgi.in Mon Jul 20 16:07:41 2020 (r542653) @@ -28,6 +28,7 @@ name="kfcgi" rcvar="kfcgi_enable" +extra_commands="reload" load_rc_config $name @@ -68,6 +69,6 @@ fi # This ensures they are actually passed to kfcgi instead. actual_kfcgi_flags="${kfcgi_flags}" kfcgi_flags="" -command_args="-f -p ${pidfile} -- ${procname} -d ${actual_kfcgi_flags} -- ${kfcgi_prog}" +command_args="-T ${name} -p ${pidfile} -- ${procname} -d ${actual_kfcgi_flags} -- ${kfcgi_prog}" run_rc_command "$1"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007201607.06KG7fjh078529>