Update pm2.config.js

This commit is contained in:
freearhey 2025-01-19 00:56:44 +03:00
parent 74ce38b66c
commit 0e33226192

View file

@ -12,7 +12,7 @@ module.exports = {
script: process.env.SITE
? `npm run grab -- --site=${process.env.SITE} ${
process.env.CLANG ? `--lang=${process.env.CLANG}` : ''
}`
} --output=public/guide.xml`
: 'npm run grab -- --channels=channels.xml --output=public/guide.xml',
cron_restart: process.env.CRON || null,
instances: 1,