Miao-Yunzai/pm2.config.cjs

13 lines
221 B
JavaScript
Raw Normal View History

2024-06-10 00:37:59 +08:00
const argv = [...process.argv].slice(4)
module.exports = {
apps: [
{
name: 'Miao-Yunzai',
script: './index.js',
args: argv,
max_memory_restart: '512M',
restart_delay: 60000
}
]
}