Eugeny / ajenti-v

Virtual Hosting addon for Ajenti
ajenti.org/#product-ajenti-v
MIT License
225 stars 80 forks source link

Pass multiple environement variables in nodeJS connector #253

Open iliraga opened 7 years ago

iliraga commented 7 years ago

When having multiple environement parameters to pass to a NodeJS-application it doesn't work.

I want to achieve something like this:

NODE_ENV=production DEBUG=first,second,third node.js

So passing NODE_ENV=production DEBUG=first,second,third as 'environement' parameter in ajenti-Vs configuration UI, won't work. It seems that it cuts out the second or first parameter.

See here in the code