annotate conf/setup.luan @ 58:41d76bd6268a

add doc for ssl
author Vadim Filimonov <fffilimonov@yandex.ru>
date Tue, 30 Nov 2021 09:32:14 +0200
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"