1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/www/zope/files/zope.sh.in
Alan Eldridge 937d360042 1. Redirect stderr to /dev/null as well as stdout in rc.d/zope.sh, so that
boot time startup does not fail.
2. Bump PORTREVSION (not in PR).

PR:		ports/37878
Submitted by:	alane
Reviewed by:	will
Approved by:	will
2002-06-20 00:25:44 +00:00

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