mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
937d360042
boot time startup does not fail. 2. Bump PORTREVSION (not in PR). PR: ports/37878 Submitted by: alane Reviewed by: will Approved by: will
25 lines
417 B
Bash
25 lines
417 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 2>&1 &
|
|
echo -n " Zope"
|
|
;;
|
|
stop)
|
|
%%ZOPEBASEDIR%%/stop
|
|
echo -n " Zope"
|
|
;;
|
|
*)
|
|
echo "Usage: `basename $0` {start|stop}" >&2
|
|
;;
|
|
esac
|
|
|
|
exit 0
|