1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/www/zope28/files/zope.sh.in
Neil Blakey-Milner 1a17adebbf Upgrade to 2.5.0 plus the security fix.
PR:		ports/34430
Submitted by:	HAYASHI Yasushi <yasi@yasi.to>
2002-02-05 20:26:09 +00:00

24 lines
405 B
Bash

#!/bin/sh
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 &
echo -n " Zope"
;;
stop)
%%ZOPEBASEDIR%%/stop
echo -n " Zope"
;;
*)
echo "Usage: `basename $0` {start|stop}" >&2
;;
esac
exit 0