diff options
Diffstat (limited to 'www/zope25/files/zope.sh')
-rw-r--r-- | www/zope25/files/zope.sh | 13 |
1 files changed, 13 insertions, 0 deletions
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 |