diff options
author | Thilo Bangert <bangert@gentoo.org> | 2009-09-28 08:38:02 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2009-09-28 08:38:02 +0000 |
commit | 1b044664dc67574e001bc074739ce72db7534b28 (patch) | |
tree | 389bfae38e6693208737d7d2e63f48c15db3bc03 /www-servers/spawn-fcgi/files | |
parent | version bump (diff) | |
download | historical-1b044664dc67574e001bc074739ce72db7534b28.tar.gz historical-1b044664dc67574e001bc074739ce72db7534b28.tar.bz2 historical-1b044664dc67574e001bc074739ce72db7534b28.zip |
allow extra options to be passed to spawn-fcgi - bug #284698 - thanks dev-zero
Package-Manager: portage-2.2_rc42/cvs/Linux i686
Diffstat (limited to 'www-servers/spawn-fcgi/files')
-rw-r--r-- | www-servers/spawn-fcgi/files/spawn-fcgi.confd | 6 | ||||
-rw-r--r-- | www-servers/spawn-fcgi/files/spawn-fcgi.initd | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/www-servers/spawn-fcgi/files/spawn-fcgi.confd b/www-servers/spawn-fcgi/files/spawn-fcgi.confd index 8f7901234710..c2d3dd3ed82a 100644 --- a/www-servers/spawn-fcgi/files/spawn-fcgi.confd +++ b/www-servers/spawn-fcgi/files/spawn-fcgi.confd @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.confd,v 1.5 2009/07/03 21:17:11 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.confd,v 1.6 2009/09/28 08:38:02 bangert Exp $ # DO NOT MODIFY THIS FILE DIRECTLY! CREATE A COPY AND MODIFY THAT INSTEAD! @@ -54,6 +54,10 @@ FCGI_CHDIR= FCGI_USER= FCGI_GROUP= +# Additional options you might want to pass to spawn-fcgi +# +#FCGI_EXTRA_OPTIONS= + # If your application requires additional environment variables, you may # specify them here. See PHP example below. # diff --git a/www-servers/spawn-fcgi/files/spawn-fcgi.initd b/www-servers/spawn-fcgi/files/spawn-fcgi.initd index 0d6abd0e784d..0b138cecca7e 100644 --- a/www-servers/spawn-fcgi/files/spawn-fcgi.initd +++ b/www-servers/spawn-fcgi/files/spawn-fcgi.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.initd,v 1.10 2009/07/03 21:17:10 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/spawn-fcgi/files/spawn-fcgi.initd,v 1.11 2009/09/28 08:38:02 bangert Exp $ PROGNAME=${SVCNAME#*.} SPAWNFCGI=/usr/bin/spawn-fcgi @@ -73,6 +73,10 @@ start() { OPTIONS="${OPTIONS} -g ${FCGI_GROUP}" fi + if [ -n "${FCGI_EXTRA_OPTIONS}" ]; then + OPTIONS="${OPTIONS} ${FCGI_EXTRA_OPTIONS}" + fi + unset E for i in ${ALLOWED_ENV}; do local j |