arcteryx-game/pm2.config.js
2025-07-16 11:12:26 +08:00

25 lines
485 B
JavaScript

export default {
apps: [
{
name: 'arcteryx-game',
script: 'bun',
args: 'run start',
cwd: __dirname,
env: {
...process.env,
},
instances: 1,
exec_mode: 'fork',
watch: false,
max_memory_restart: '1G',
error_file: './logs/err.log',
out_file: './logs/out.log',
log_file: './logs/combined.log',
time: true,
autorestart: true,
max_restarts: 10,
min_uptime: '10s'
}
]
}