Optimierung der PM2-Instanzverwaltung: Entfernen der zweiten Instanz und Anpassung der Fehlermeldungen in den Deployment-Skripten
This commit is contained in:
@@ -61,22 +61,6 @@ module.exports = {
|
||||
out_file: '/var/log/pm2/harheimertc-out.log',
|
||||
log_file: '/var/log/pm2/harheimertc-combined.log',
|
||||
time: true
|
||||
},
|
||||
{
|
||||
name: 'harheimertc-3102',
|
||||
// Zweite Instanz auf Port 3102
|
||||
script: 'node',
|
||||
args: '.output/server/index.mjs',
|
||||
cwd: '/var/www/harheimertc',
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
env: createEnv(3102),
|
||||
error_file: '/var/log/pm2/harheimertc-3102-error.log',
|
||||
out_file: '/var/log/pm2/harheimertc-3102-out.log',
|
||||
log_file: '/var/log/pm2/harheimertc-3102-combined.log',
|
||||
time: true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user