mrmBot-Matrix/ecosystem.config.cjs
2022-09-21 00:06:04 -05:00

17 lines
No EOL
349 B
JavaScript

module.exports = {
apps: [{
name: "esmBot-manager",
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"
}]
};