diff options
Diffstat (limited to 'www/zope28/files/zope.sh.in')
-rw-r--r-- | www/zope28/files/zope.sh.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/www/zope28/files/zope.sh.in b/www/zope28/files/zope.sh.in index c8cb98f77348..6e461541a625 100644 --- a/www/zope28/files/zope.sh.in +++ b/www/zope28/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) |