annotate conf/setup.luan @ 42:af4632c42979
fix init conf to fix subscription emails
author |
Vadim Filimonov <fffilimonov@yandex.ru> |
date |
Mon, 07 Jun 2021 09:52:13 +0300 |
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"
|