summaryrefslogtreecommitdiff
path: root/www/zope211/files/zope.sh.in
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2002-02-05 20:26:09 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2002-02-05 20:26:09 +0000
commit1a17adebbfd63a1255dbe727054ed0fe223717ee (patch)
tree22a6cb0b9b85165f4a1dd1aaad44abcc9eb869f5 /www/zope211/files/zope.sh.in
parentUpgrade to 0.9.8. (diff)
Upgrade to 2.5.0 plus the security fix.
PR: ports/34430 Submitted by: HAYASHI Yasushi <yasi@yasi.to>
Notes
Notes: svn path=/head/; revision=54249
Diffstat (limited to 'www/zope211/files/zope.sh.in')
-rw-r--r--www/zope211/files/zope.sh.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/zope211/files/zope.sh.in b/www/zope211/files/zope.sh.in
index c8cb98f77348..6e461541a625 100644
--- a/www/zope211/files/zope.sh.in
+++ b/www/zope211/files/zope.sh.in
@@ -2,7 +2,13 @@
case "$1" in
start)
- nohup %%ZOPEBASEDIR%%/start -w '' -f '' -m '' -p %%CGIBINDIR%%/Zope.cgi >> %%ZOPEBASEDIR%%/var/zope-output &
+ 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)