mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 10:56:57 -05:00
Update pm2.config.js
This commit is contained in:
@@ -9,7 +9,11 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'grab',
|
name: 'grab',
|
||||||
script: `npm run grab -- --channels=channels.xml --output=public/guide.xml`,
|
script: process.env.SITE
|
||||||
|
? `npm run grab -- --site=${process.env.SITE} ${
|
||||||
|
process.env.CLANG ? `--lang=${process.env.CLANG}` : ''
|
||||||
|
}`
|
||||||
|
: 'npm run grab -- --channels=channels.xml --output=public/guide.xml',
|
||||||
cron_restart: process.env.CRON || null,
|
cron_restart: process.env.CRON || null,
|
||||||
instances: 1,
|
instances: 1,
|
||||||
watch: false,
|
watch: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user