Mercurial Hosting > nabble
comparison conf/setup.luan @ 18:862b1ef23e75
add setup.sh
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 02 Feb 2020 09:04:59 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
17:c9bbcebcf359 | 18:862b1ef23e75 |
---|---|
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" |