mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-11 01:20:08 -04:00
Update pm2.config.js
This commit is contained in:
parent
45a06e961c
commit
03ee512427
1 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue