summaryrefslogtreecommitdiff
path: root/www/zope211/files/zope.sh.in
diff options
context:
space:
mode:
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)