diff options
Diffstat (limited to 'www/zope28/files/zope.sh.in')
-rw-r--r-- | www/zope28/files/zope.sh.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/www/zope28/files/zope.sh.in b/www/zope28/files/zope.sh.in new file mode 100644 index 0000000..156a319c --- /dev/null +++ b/www/zope28/files/zope.sh.in @@ -0,0 +1,17 @@ +#!/bin/sh + +case "$1" in +start) + %%ZOPEBASEDIR%%/start -w '' -f '' -m '' -p %%CGI_BIN_DIR%%/Zope.cgi & + echo -n " Zope" + ;; +stop) + %%ZOPEBASEDIR%% stop + echo -n " Zope" + ;; +*) + echo "Usage: `basename $0` {start|stop}" >&2 + ;; +esac + +exit 0 |