annotate conf/setup.luan @ 27:22a701699b2a

add Disk.jtp
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 02 Jul 2020 16:00:09 -0600
parents 862b1ef23e75
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
18
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 java()
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2 local Luan = require "luan:Luan.luan"
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3 local error = Luan.error
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 local LoggerFactory = require "java:org.slf4j.LoggerFactory"
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5 local Log4j = require "java:nabble.utils.Log4j"
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 local Init = require "file:conf/Init.luan"
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 Log4j.initForConsole()
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9 local logger = LoggerFactory.getLogger("serve_nabble");
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 local DbGlobalUpdater = require "java:nabble.model.DbGlobalUpdater"
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 DbGlobalUpdater.updateGlobal()
862b1ef23e75 add setup.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13 logger.info "db update done"