mirror of
https://github.com/complexcaresolutions/whatsapp-bot.git
synced 2026-03-17 16:14:06 +00:00
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:
parent
81e09a4e2b
commit
67fe3992b4
1 changed files with 2 additions and 2 deletions
|
|
@ -12,8 +12,8 @@ module.exports = {
|
|||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
error_file: '/var/log/pm2/whatsapp-bot-error.log',
|
||||
out_file: '/var/log/pm2/whatsapp-bot-out.log',
|
||||
error_file: './logs/whatsapp-bot-error.log',
|
||||
out_file: './logs/whatsapp-bot-out.log',
|
||||
time: true,
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue