start recvmail addon in setup_infra

This commit is contained in:
Girish Ramakrishnan
2016-05-11 08:45:52 -07:00
parent 8be3b4c281
commit 646ba096c3
6 changed files with 32 additions and 5 deletions

View File

@@ -35,6 +35,7 @@ var appdb = require('./appdb.js'),
path = require('path'),
paths = require('./paths.js'),
safe = require('safetydance'),
settings = require('./settings.js'),
shell = require('./shell.js'),
util = require('util'),
uuid = require('node-uuid');
@@ -129,7 +130,7 @@ function initialize(callback) {
certificates.getAdminCertificatePath(function (error, certFilePath, keyFilePath) {
if (error) return callback(error);
shell.sudo('seutp_infra', [ SETUP_INFRA_CMD, config.fqdn(), config.adminFqdn(), certFilePath, keyFilePath ], callback);
shell.sudo('seutp_infra', [ SETUP_INFRA_CMD, config.fqdn(), config.adminFqdn(), certFilePath, keyFilePath, settings.isIncomingMailEnabled() ], callback);
});
}