summaryrefslogtreecommitdiff
path: root/www/zope210/files/zope.sh.in
blob: c8cb98f77348b01460933b5449450dbfca411d63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

case "$1" in
start)
	nohup %%ZOPEBASEDIR%%/start -w '' -f '' -m '' -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