diff --git a/script/start.sh b/script/start.sh index 7ff7bfe..6fe093f 100644 --- a/script/start.sh +++ b/script/start.sh @@ -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 \ No newline at end of file +/usr/sbin/sogod -WOWorkersCount ${WORKERS_COUNT} -WONoDetach YES -WOPort 20000 -WOLogFile - -WOPidFile /tmp/sogo.pid \ No newline at end of file