diff --git a/bin/pm2 b/bin/pm2 index 9f17e0fff..b3602f2ba 100755 --- a/bin/pm2 +++ b/bin/pm2 @@ -627,10 +627,10 @@ function connect(type, sec, pub, name, _opts) { if (opts.public && opts.secret) return pm2.linkManagement(opts.secret, opts.public, opts.name, opts, function(err, dt) { - pm2.minimumSetup(opts, function() { + //pm2.minimumSetup(opts, function() { console.log(cst.PM2_IO_MSG + 'Remote dashboard: https://app.pm2.io/#/r/' + dt.public_key); pm2.speedList() - }) + //}) }) pm2.register(opts); diff --git a/lib/API/pm2-plus/PM2IO.js b/lib/API/pm2-plus/PM2IO.js index dc7356b1b..bbf8e1ad4 100644 --- a/lib/API/pm2-plus/PM2IO.js +++ b/lib/API/pm2-plus/PM2IO.js @@ -107,7 +107,7 @@ module.exports = function(CLI) { else if (bucket._payment.offer_type.indexOf('pro') > -1) opts.type = 'plus' - self.minimumSetup(opts, () => { + //self.minimumSetup(opts, () => { console.log() console.log(chalk.green('[+] PM2 Plus has been successfully enabled!')) @@ -116,7 +116,7 @@ module.exports = function(CLI) { setTimeout(function() { process.exit(cst.SUCCESS_EXIT); }, 200) - }) + //}) } promptly.confirm(chalk.bold('Do you have a pm2.io account? (y/n)'), (err, answer) => { diff --git a/lib/API/pm2-plus/helpers.js b/lib/API/pm2-plus/helpers.js index 61ad124d6..dfaf90219 100644 --- a/lib/API/pm2-plus/helpers.js +++ b/lib/API/pm2-plus/helpers.js @@ -63,8 +63,7 @@ module.exports = function(CLI) { var modules = [] if (opts.type === 'enterprise' || opts.type === 'plus') { - //modules = ['pm2-logrotate', 'pm2-server-monit', 'event-loop-inspector'] - modules = ['event-loop-inspector'] + modules = ['pm2-logrotate', 'pm2-server-monit'] if (semver.satisfies(process.version, '< 8.0.0')) { modules.push('v8-profiler-node8') }