aboutsummaryrefslogtreecommitdiff
path: root/www/zope28/files/zope.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'www/zope28/files/zope.sh.in')
-rw-r--r--www/zope28/files/zope.sh.in14
1 files changed, 6 insertions, 8 deletions
diff --git a/www/zope28/files/zope.sh.in b/www/zope28/files/zope.sh.in
index 616a53f07eec..727778464e0e 100644
--- a/www/zope28/files/zope.sh.in
+++ b/www/zope28/files/zope.sh.in
@@ -3,17 +3,15 @@
case "$1" in
start)
umask 077
- nohup %%ZOPEBASEDIR%%/start \
- -w %%ZOPE_HTTP_PORT%% \
- -f %%ZOPE_FTP_PORT%% \
- -m %%ZOPE_MONITOR_PORT%% \
- -u %%ZOPE_USER%% \
- -p %%CGIBINDIR%%/Zope.cgi \
- >> %%ZOPEBASEDIR%%/var/zope-output 2>&1 &
+ %%ZOPEBASEDIR%%/bin/zopectl --daemon start > /dev/null 2>&1
echo -n " Zope"
;;
stop)
- %%ZOPEBASEDIR%%/stop
+ %%ZOPEBASEDIR%%/bin/zopectl stop > /dev/null 2>&1
+ echo -n " Zope"
+ ;;
+restart)
+ %%ZOPEBASEDIR%%/bin/zopectl restart > /dev/null 2>&1
echo -n " Zope"
;;
*)