Skip to content

upstart configuration exporter for upstart, that uses ENV vars to control concurrency

Notifications You must be signed in to change notification settings

fabiokung/foreman-upstart-scaling

Repository files navigation

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

About

upstart configuration exporter for upstart, that uses ENV vars to control concurrency

Resources

Stars

Watchers

Forks

Packages

No packages published