Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/spawn-fcgi spawn-fcgi: document handling of rc.d s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/013bdace8333
branches: trunk
changeset: 437272:013bdace8333
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Aug 19 18:28:40 2020 +0000
description:
spawn-fcgi: document handling of rc.d script.
Based on Nicolas Thauvin's
https://mail-index.netbsd.org/pkgsrc-users/2010/04/11/msg012035.html
Bump PKGREVISION.
diffstat:
www/spawn-fcgi/Makefile | 8 +++++++-
www/spawn-fcgi/PLIST | 3 ++-
www/spawn-fcgi/files/README-rc.txt | 18 ++++++++++++++++++
3 files changed, 27 insertions(+), 2 deletions(-)
diffs (53 lines):
diff -r 83e43f3fee74 -r 013bdace8333 www/spawn-fcgi/Makefile
--- a/www/spawn-fcgi/Makefile Wed Aug 19 17:53:15 2020 +0000
+++ b/www/spawn-fcgi/Makefile Wed Aug 19 18:28:40 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2019/10/06 13:10:39 nia Exp $
+# $NetBSD: Makefile,v 1.10 2020/08/19 18:28:40 wiz Exp $
DISTNAME= spawn-fcgi-1.6.4
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= https://download.lighttpd.net/spawn-fcgi/releases-1.6.x/
@@ -15,4 +16,9 @@
RCD_SCRIPTS= spawnfcgi
+INSTALLATION_DIRS+= share/doc/spawn-fcgi
+
+post-install:
+ ${INSTALL_DATA} ${FILESDIR}/README-rc.txt ${DESTDIR}${PREFIX}/share/doc/spawn-fcgi
+
.include "../../mk/bsd.pkg.mk"
diff -r 83e43f3fee74 -r 013bdace8333 www/spawn-fcgi/PLIST
--- a/www/spawn-fcgi/PLIST Wed Aug 19 17:53:15 2020 +0000
+++ b/www/spawn-fcgi/PLIST Wed Aug 19 18:28:40 2020 +0000
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2014/03/11 14:05:18 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.4 2020/08/19 18:28:40 wiz Exp $
bin/spawn-fcgi
man/man1/spawn-fcgi.1
+share/doc/spawn-fcgi/README-rc.txt
diff -r 83e43f3fee74 -r 013bdace8333 www/spawn-fcgi/files/README-rc.txt
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/spawn-fcgi/files/README-rc.txt Wed Aug 19 18:28:40 2020 +0000
@@ -0,0 +1,18 @@
+To configure spawn-fcgi jobs from /etc/rc.conf:
+
+1) List the jobs to be started:
+
+spawnfcgi=YES
+spawnfcgi_jobs="job1 ... jobN"
+
+2) Add options to each job in the form spawnfcgi_<job>_<option>, for example, if you use PHP:
+
+spawnfcgi_jobX_command="/usr/pkg/libexec/cgi-bin/php"
+spawnfcgi_jobX_args=""
+spawnfcgi_jobX_user="php"
+spawnfcgi_jobX_socket=""
+spawnfcgi_jobX_address="127.0.0.1"
+spawnfcgi_jobX_port="9000"
+spawnfcgi_jobX_children="3"
+
+The complete list of options can be found in the spawnfcgi rc.d script.
Home |
Main Index |
Thread Index |
Old Index