change order of configuration messages
This commit is contained in:
@@ -1946,13 +1946,6 @@ if (minisrv_config.config.ServiceVaults) {
|
|||||||
throw ("ERROR: No Service Vaults defined!");
|
throw ("ERROR: No Service Vaults defined!");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (minisrv_config.config.SessionStore) {
|
|
||||||
var SessionStore = wtvshared.returnAbsolutePath(minisrv_config.config.SessionStore);
|
|
||||||
console.log(" * Configured Session Storage at", SessionStore);
|
|
||||||
} else {
|
|
||||||
throw ("ERROR: No Session Storage Directory (SessionStore) defined!");
|
|
||||||
}
|
|
||||||
|
|
||||||
var service_deps = new Array();
|
var service_deps = new Array();
|
||||||
if (minisrv_config.config.ServiceDeps) {
|
if (minisrv_config.config.ServiceDeps) {
|
||||||
Object.keys(minisrv_config.config.ServiceDeps).forEach(function (k) {
|
Object.keys(minisrv_config.config.ServiceDeps).forEach(function (k) {
|
||||||
@@ -1964,6 +1957,14 @@ if (minisrv_config.config.ServiceDeps) {
|
|||||||
throw ("ERROR: No Service Dependancies Directory (SessionDeps) defined!");
|
throw ("ERROR: No Service Dependancies Directory (SessionDeps) defined!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (minisrv_config.config.SessionStore) {
|
||||||
|
var SessionStore = wtvshared.returnAbsolutePath(minisrv_config.config.SessionStore);
|
||||||
|
console.log(" * Configured Session Storage at", SessionStore);
|
||||||
|
} else {
|
||||||
|
throw ("ERROR: No Session Storage Directory (SessionStore) defined!");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
var service_ip = minisrv_config.config.service_ip;
|
var service_ip = minisrv_config.config.service_ip;
|
||||||
Object.keys(minisrv_config.services).forEach(function (k) {
|
Object.keys(minisrv_config.services).forEach(function (k) {
|
||||||
if (configureService(k, minisrv_config.services[k], true)) {
|
if (configureService(k, minisrv_config.services[k], true)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user