Azure-Samples/nodejs-docs-hello-world

process.json is executed as a javascript file

adamrhunter opened this issue · 0 comments

(Running WA on Linux, w/ a "Built-in" docker container with Node.js 6.10 Runtime Stack)

When setting the startup file to be process.json I see the following node error logs (from /home/LogFiles/node_0_err.log

/home/site/wwwroot/process.json: line 2: name: command not found
/home/site/wwwroot/process.json: line 4: instances: command not found
/home/site/wwwroot/process.json: line 5: merge_logs: command not found

it seems like the container is trying to execute process.json, rather than apply it to pm2.

any pointers?

thanks.