diff options
author | drochner <drochner@pkgsrc.org> | 2002-08-22 16:54:48 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-08-22 16:54:48 +0000 |
commit | 79f41aa33dca0d524d2b37db146b82e043dd642f (patch) | |
tree | dd2158d41cb743a06163241ac3a1bf1129ca7a49 /www/zope25/files | |
parent | 9168d2fc40fccccda387e1f5e30da05cbf84908a (diff) | |
download | pkgsrc-79f41aa33dca0d524d2b37db146b82e043dd642f.tar.gz |
First cut on an actual Zope pkg, which requires a thread enabled Python,
for which we only have a pth version. Needs Testing.
Also needs some work for installation/startup scripts.
Diffstat (limited to 'www/zope25/files')
-rwxr-xr-x | www/zope25/files/Zope.cgi | 13 | ||||
-rw-r--r-- | www/zope25/files/zope.sh | 13 |
2 files changed, 26 insertions, 0 deletions
diff --git a/www/zope25/files/Zope.cgi b/www/zope25/files/Zope.cgi new file mode 100755 index 00000000000..60cc57ab0c9 --- /dev/null +++ b/www/zope25/files/Zope.cgi @@ -0,0 +1,13 @@ +#!@ZOPEDIR@/pcgi/pcgi-wrapper +# $NetBSD: Zope.cgi,v 1.1.1.1 2002/08/22 16:54:49 drochner Exp $ +PCGI_NAME=Zope +PCGI_MODULE_PATH=@ZOPEDIR@/lib/python/Zope +PCGI_PUBLISHER=@ZOPEDIR@/pcgi/pcgi_publisher.py +PCGI_EXE=@PYTHONBIN@ +PCGI_SOCKET_FILE=@INSTANCEHOME@/var/pcgi.soc +PCGI_PID_FILE=@INSTANCEHOME@/var/pcgi.pid +PCGI_ERROR_LOG=@INSTANCEHOME@/var/pcgi.log +PCGI_DISPLAY_ERRORS=1 +BOBO_REALM=@INSTANCEHOME@/Zope.cgi +BOBO_DEBUG_MODE=1 +INSTANCE_HOME=@INSTANCEHOME@ diff --git a/www/zope25/files/zope.sh b/www/zope25/files/zope.sh new file mode 100644 index 00000000000..8ca4596b1aa --- /dev/null +++ b/www/zope25/files/zope.sh @@ -0,0 +1,13 @@ +#!/bin/sh +# $NetBSD: zope.sh,v 1.1.1.1 2002/08/22 16:54:49 drochner Exp $ + +case $1 in +start) + INSTANCE_HOME=@INSTANCEHOME@ + export INSTANCE_HOME + (cd @INSTANCEHOME@ && @PYTHONBIN@ @ZOPEDIR@/z2.py) + ;; +stop) + kill `cat @INSTANCEHOME@/var/Z2.pid` + ;; +esac |