Keep configurePlainIP private
This commit is contained in:
+3
-4
@@ -23,9 +23,7 @@ exports = module.exports = {
|
||||
checkDiskSpace: checkDiskSpace,
|
||||
|
||||
readDkimPublicKeySync: readDkimPublicKeySync,
|
||||
refreshDNS: refreshDNS,
|
||||
|
||||
configurePlainIP: configurePlainIP
|
||||
refreshDNS: refreshDNS
|
||||
};
|
||||
|
||||
var apps = require('./apps.js'),
|
||||
@@ -125,7 +123,8 @@ function initialize(callback) {
|
||||
|
||||
async.series([
|
||||
installAppBundle,
|
||||
checkConfigState
|
||||
checkConfigState,
|
||||
configurePlainIP
|
||||
], callback);
|
||||
}
|
||||
|
||||
|
||||
@@ -274,7 +274,6 @@ function start(callback) {
|
||||
auth.initialize,
|
||||
database.initialize,
|
||||
cloudron.initialize,
|
||||
cloudron.configurePlainIP,
|
||||
gHttpServer.listen.bind(gHttpServer, config.get('port'), '127.0.0.1'),
|
||||
gSysadminHttpServer.listen.bind(gSysadminHttpServer, config.get('sysadminPort'), '127.0.0.1'),
|
||||
eventlog.add.bind(null, eventlog.ACTION_START, { userId: null, username: 'boot' }, { version: config.version() })
|
||||
|
||||
Reference in New Issue
Block a user