mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
1a17adebbf
PR: ports/34430 Submitted by: HAYASHI Yasushi <yasi@yasi.to>
24 lines
405 B
Bash
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
|