tableflip / guvnor

A node process manager that isn't spanners all the way down
MIT License
430 stars 37 forks source link

How to pass env vars thru guv start? #66

Closed randomsock closed 9 years ago

randomsock commented 9 years ago

How do you set env vars to be picked up in your app process?

For example:

env NODE_ENV=production PORT=3456 guv start myapp

doesn't seem to work (I can guess why, but it's the first intuitive thing to try).

Is there any other way to do this? preferably declarative, like in processes.json?

randomsock commented 9 years ago

Closed: user stupidity :flushed:

After banging my head against the wall for the last couple of hours, noticed it was actually masking the real cause underneath, which was my end - no fault in guv, this works fine.

Apologies.