No commit activity in last 3 years
No release in over 3 years
Upstart exporter for foreman, that supports worker scaling via env vars.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.46.0
 Project Readme

Usage

The generated upstart configuration completely ignores the concurrency setting from foreman. The number of processes running will be controlled by environment variables of the following format:

PROCESSNAME_SCALE=N

If there is no such variable in the user's environment (where user is the one being used to launch the process), the upstart configuration assumes PROCESSNAME_SCALE=0. If the process name contains - (dashes), they will be replaced with _ (underscores).

Authors

  • Fabio Kung

Contributors

  • Michael Hale

Credits

  • David Dollar (@ddollar), for the work on foreman.
  • Keith Rarick (@kr), for the fifo(7) dance.

License

MIT