module.exports = { apps: [{ name: 'webklar-app', script: 'npm', args: 'start', cwd: process.env.HOME + '/Webklar_app', // Automatisch Home-Verzeichnis verwenden instances: 1, exec_mode: 'fork', env: { NODE_ENV: 'production', PORT: 3000 }, error_file: './logs/err.log', out_file: './logs/out.log', log_date_format: 'YYYY-MM-DD HH:mm:ss Z', merge_logs: true, autorestart: true, watch: false, max_memory_restart: '1G' }] }