annotate conf/setup.luan @ 50:806d3297f92b
allow custom nabble domains
author |
Franklin Schmidt <fschmidt@gmail.com> |
date |
Sun, 27 Jun 2021 18:26:58 -0600 |
parents |
862b1ef23e75 |
children |
|
rev |
line source |
18
|
1 java()
|
|
2 local Luan = require "luan:Luan.luan"
|
|
3 local error = Luan.error
|
|
4 local LoggerFactory = require "java:org.slf4j.LoggerFactory"
|
|
5 local Log4j = require "java:nabble.utils.Log4j"
|
|
6 local Init = require "file:conf/Init.luan"
|
|
7
|
|
8 Log4j.initForConsole()
|
|
9 local logger = LoggerFactory.getLogger("serve_nabble");
|
|
10
|
|
11 local DbGlobalUpdater = require "java:nabble.model.DbGlobalUpdater"
|
|
12 DbGlobalUpdater.updateGlobal()
|
|
13 logger.info "db update done"
|