aboutsummaryrefslogtreecommitdiff
path: root/www/zope29/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/zope29/files/zope.sh.in
parentd2de72b7af797d7405528590ee6cf33c55f48524 (diff)
downloadports-1a17adebbfd63a1255dbe727054ed0fe223717ee.tar.gz
ports-1a17adebbfd63a1255dbe727054ed0fe223717ee.zip
Notes
Diffstat (limited to 'www/zope29/files/zope.sh.in')
-rw-r--r--www/zope29/files/zope.sh.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/zope29/files/zope.sh.in b/www/zope29/files/zope.sh.in
index c8cb98f77348..6e461541a625 100644
--- a/www/zope29/files/zope.sh.in
+++ b/www/zope29/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)