set env vars

This commit is contained in:
André Bauer 2017-06-17 11:25:47 +02:00
parent 15a50ba0a3
commit 3f9e7c2088
2 changed files with 9 additions and 0 deletions

View file

@ -233,6 +233,13 @@ function update_or_install () {
fi
}
function set_env_vars () {
zammad config:set RUBY_GC_MALLOC_LIMIT=1077216
zammad config:set RUBY_GC_MALLOC_LIMIT_MAX=2177216
zammad config:set RUBY_GC_OLDMALLOC_LIMIT=2177216
zammad config:set RUBY_GC_OLDMALLOC_LIMIT_MAX=3000100
}
function final_message () {
echo -e "####################################################################################"
echo -e "\nAdd your fully qualified domain name or public IP to servername directive of"

View file

@ -30,6 +30,8 @@ stop_zammad
update_or_install
set_env_vars
start_zammad
create_webserver_config