strongloop / strong-pm

deployer for node applications
http://strong-pm.io
Other
1k stars 71 forks source link

Problems when deploy a service with parameters #387

Closed masalinas closed 4 years ago

masalinas commented 7 years ago

I have a problem with strong-pm, I build a service correctly inside strong-pm. The package of this service deployed has this script configured:

"scripts": { "start": "node_modules/node-red/red.js -s settings.js" }, strong-pm start correctly red.js but the parameter settings.js is not used. What is wrong?

sam-github commented 7 years ago

strong-pm doesn't use the start script, it couldn't inject metrics and other instrumentation if it did.

See point 1 here: https://github.com/strongloop/strong-supervisor#slc-run

I recommend modifying your code so the start behaviour is the default.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 4 years ago

This issue has been closed due to continued inactivity. Thank you for your understanding.