LearnBoost / up

Zero-downtime reloads and requests load balancer based on distribute.
540 stars 73 forks source link

Pass arguments to the server #4

Closed snsparrish closed 12 years ago

snsparrish commented 12 years ago

Any way to pass arguments to the http servers? I'd like to feed it a config file path, specifically.

TooTallNate commented 12 years ago

Not sure about official support, but what about using an environment variable?

tj commented 12 years ago

maybe args after -- should just be fed as argv (haven't looked at what's there yet)

snsparrish commented 12 years ago

Environment variable doesn't seem to work. Maybe I'm just doing it wrong.

tj commented 12 years ago

y u do wrong

rauchg commented 12 years ago

@visionmedia just fixed process.env (see #6)