Use start-prod script in pm2 directly
This commit is contained in:
parent
8181df3140
commit
f468646f87
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
||||||
"apps": [
|
"apps": [
|
||||||
{
|
{
|
||||||
"name": "zeppelin",
|
"name": "zeppelin",
|
||||||
"script": "dist/index.js",
|
"script": "npm",
|
||||||
|
"args": "run start-prod",
|
||||||
"log_date_format": "YYYY-MM-DD HH:mm:ss"
|
"log_date_format": "YYYY-MM-DD HH:mm:ss"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue