view conf/setup.luan @ 59:f7665d62c5cd

remove bounces@n2.nabble.com
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 23 Feb 2022 00:34:58 -0700
parents 862b1ef23e75
children
line wrap: on
line source

java()
local Luan = require "luan:Luan.luan"
local error = Luan.error
local LoggerFactory = require "java:org.slf4j.LoggerFactory"
local Log4j = require "java:nabble.utils.Log4j"
local Init = require "file:conf/Init.luan"

Log4j.initForConsole()
local logger = LoggerFactory.getLogger("serve_nabble");

local DbGlobalUpdater = require "java:nabble.model.DbGlobalUpdater"
DbGlobalUpdater.updateGlobal()
logger.info "db update done"