Commit 3e0a03d6 authored by Marco Mariani's avatar Marco Mariani

call zmmailboxdctl via authbind; let LD_PRELOAD throught zmmailboxdmgr

parent 7cd80df5
......@@ -49,6 +49,7 @@ static const char *AllowedEnv[] = {
"PATH",
"LOGNAME",
"USER",
"LD_PRELOAD", /* needed by authbind */
"TZ"
};
......
......@@ -105,7 +105,7 @@ case "$1" in
mailboxd_java_options="${mailboxd_java_options} -Dsun.net.inetaddr.ttl=${networkaddress_cache_ttl}"
fi
echo -n "Starting mailboxd..."
${zimbra_home}/libexec/zmmailboxdmgr start \
authbind --deep ${zimbra_home}/libexec/zmmailboxdmgr start \
-Dfile.encoding=UTF-8 ${mailboxd_java_options} ${spnegoJavaOptions} -Xms${javaXms}m \
-Xmx${javaXmx}m -Xmn${javaXmn}m < /dev/null > /dev/null 2>&1
status=$?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment