module.exports = { apps: [ { name: 'fhir-burni', script: 'server.js', node_args: ["--inspect"], watch: false, exec_mode: 'cluster', instances: 2, max_memory_restart: '500M', time: true, log_date_format: 'YYYY-MM-DD HH:mm Z', force: true, wait_ready: false, max_restarts: 10, autorestart: true, error_file: './pm2log/err.log', out_file: './pm2log/out.log', log_file: './pm2log/log.log' } , { name: 'fhir-burni-schedule-update-validation-files', script: 'models/FHIR/schedule-update-validation-files.js', node_args: ["--inspect"], watch: false, exec_mode: 'fork', max_memory_restart: '500M', force: true, wait_ready: false, max_restarts: 10, autorestart: true, error_file: 'NULL', out_file: 'NULL', log_file: 'NULL' }] };