mirror of
https://github.com/Sabai-Technologies/sogo-docker.git
synced 2026-01-23 00:24:02 +00:00
added WORKERS_COUNT variable to manage WoWorkersCount (usefull for ActiveSync)
This commit is contained in:
parent
c5b642ab4f
commit
711b2fc570
1 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
source /usr/local/bin/common.sh
|
||||
|
||||
WORKERS_COUNT=${WORKERS_COUNT:-15}
|
||||
|
||||
for conf in $(printenv| grep -i SOGO_ | cut -d= -f1);do
|
||||
update_conf "${conf:5}" "${!conf}"
|
||||
done
|
||||
|
|
@ -13,4 +15,4 @@ if [[ -n ${MYSQL_SERVER//[[:blank:]]/} ]]; then
|
|||
fi
|
||||
|
||||
log_info "Launching SOGo"
|
||||
/usr/sbin/sogod -WONoDetach YES -WOPort 20000 -WOLogFile - -WOPidFile /tmp/sogo.pid
|
||||
/usr/sbin/sogod -WOWorkersCount ${WORKERS_COUNT} -WONoDetach YES -WOPort 20000 -WOLogFile - -WOPidFile /tmp/sogo.pid
|
||||
Loading…
Add table
Add a link
Reference in a new issue