Closed nemecec closed 7 years ago
same issue
not yet solved.
can someone send me a pull request for this fix?
Also having this issue. @nemecec can you rephrase your fix in other words? I don't quite understand it
@arvind-agarwal: I've made a pull request (my first one on github \o/) with a quick fix. The code searches for the first apearrance of an = symbol and uses the rest as a whole env variable value.
Fixed in 0.5.10
I have an environment variable:
MONGO_URI="mongodb://user:password@host1:15145,host2:15145/db-name?ssl=true"
This should be perfectly legal environment variable. However, forever service script assumes that there are no "=" characters in the environment variable value and reports an error.
Fix: When splitting the environment variable definition to get variable name, just use the first "=" character.