module.exports = { apps: [ { name: 'evcp', script: 'npm', args: 'run start', cwd: './', instances: 1, autorestart: true, watch: false, max_memory_restart: '8G', env: { NODE_ENV: 'production', NODE_OPTIONS: '--openssl-legacy-provider' }, // 로그 경로 미지정 시 PM2 기본 경로 사용: ~/.pm2/logs/ log_date_format: 'YYYY-MM-DD HH:mm:ss Z', merge_logs: true, time: true } ] };