fix: use relative log paths for PM2 (no root access needed)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Martin Porwoll 2026-03-02 16:24:30 +00:00
parent 81e09a4e2b
commit 67fe3992b4

View file

@ -12,8 +12,8 @@ module.exports = {
env: { env: {
NODE_ENV: 'production', NODE_ENV: 'production',
}, },
error_file: '/var/log/pm2/whatsapp-bot-error.log', error_file: './logs/whatsapp-bot-error.log',
out_file: '/var/log/pm2/whatsapp-bot-out.log', out_file: './logs/whatsapp-bot-out.log',
time: true, time: true,
}, },
], ],