mrmBot-Matrix/ecosystem.config.cjs

17 lines
349 B
JavaScript
Raw Normal View History

module.exports = {
apps: [{
name: "esmBot-manager",
2022-09-21 05:06:04 +00:00
script: "utils/pm2/ext.js",
autorestart: true,
exp_backoff_restart_delay: 1000,
watch: false,
exec_mode: "fork"
}, {
name: "esmBot",
script: "app.js",
autorestart: true,
exp_backoff_restart_delay: 1000,
watch: false,
exec_mode: "cluster"
}]
};