zapty / forever-service

Provision node script as a service via forever, allowing it to automatically start on boot, working across various Linux distros and OS
https://github.com/zapty/forever-service
MIT License
594 stars 65 forks source link

Added support for passing in environment variables. #14

Closed AshyIsMe closed 9 years ago

AshyIsMe commented 9 years ago

I've added support for passing in environment variables to the script. You pass them in with the extra command line option: -e or --envVars. See the "forever-service install --help" for an example.

I've only tested it on Amazon Linux so far.

This should answer Issue #9

arvind-agarwal commented 9 years ago

@AshyIsMe Thanks for this pull request, works well.

morrisonbrett commented 9 years ago

Well done!