Skip to content

Commit

Permalink
Merge pull request #32 from NethServer/fixEjabberdEnv
Browse files Browse the repository at this point in the history
Update ejabberd_module environment variable in webtop.py NethServer/dev#6828
  • Loading branch information
stephdl authored Jan 17, 2024
2 parents 148cf1a + e49d4ae commit 308b994
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions imageroot/actions/create-module/10env
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ agent.set_env('Z_PUSH_USE_LEGACY_FOLDER_IDS', 'false')
agent.set_env('WEBAPP_JS_DEBUG', 'False')
agent.set_env('WEBAPP_MIN_MEMORY', '512')
agent.set_env('WEBAPP_MAX_MEMORY', '1024')
agent.set_env('EJABBERD_MODULE', '')
2 changes: 1 addition & 1 deletion imageroot/pypkg/webtop.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def configure_module(mail_module, penv):
"locale": penv['WEBTOP_LOCALE'],
"timezone": penv['WEBTOP_TIMEZONE'],
"mail_module": mail_module,
"ejabberd_module": penv['EJABBERD_MODULE'],
"ejabberd_module": penv.get('EJABBERD_MODULE',''),
"webapp": {
"debug": penv['WEBAPP_JS_DEBUG'] == 'True',
"min_memory": int(penv['WEBAPP_MIN_MEMORY']),
Expand Down

0 comments on commit 308b994

Please sign in to comment.