diff --git a/pm2_dev.sh b/pm2_dev.sh index 4ea6e58..f828871 100755 --- a/pm2_dev.sh +++ b/pm2_dev.sh @@ -1 +1 @@ -pm2 start npm --name "chain-client" --log-date-format "YYYY-MM-DD HH:mm:ss" -- run "run:prod" +pm2 start npm --name "chain-client" --log-date-format "YYYY-MM-DD HH:mm:ss" -- run "run:dev:api" diff --git a/start.json b/start.json index 0918f9e..99925b7 100644 --- a/start.json +++ b/start.json @@ -17,24 +17,6 @@ "env_production": { "NODE_ENV": "production" } - }, - { - "name": "chain-monitor", - "script": "npm", - "args": "run prod:monitor", - "cwd": "/data/apps/chain-client", - "max_memory_restart": "1024M", - "log_date_format": "YYYY-MM-DD HH:mm Z", - "watch": false, - "ignore_watch": ["node_modules", "logs", "fixtures", "tasks"], - "instances": 1, - "exec_mode": "fork", - "env": { - "NODE_ENV": "production" - }, - "env_production": { - "NODE_ENV": "production" - } } ] }