summaryrefslogtreecommitdiff
path: root/www/zope/files/zope.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/zope/files/zope.sh.in')
-rw-r--r--www/zope/files/zope.sh.in17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/zope/files/zope.sh.in b/www/zope/files/zope.sh.in
new file mode 100644
index 000000000000..156a319c8125
--- /dev/null
+++ b/www/zope/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