{"id":17531016,"url":"https://github.com/danp/heroku-buildpack-runit","last_synced_at":"2025-08-01T16:34:02.885Z","repository":{"id":8255720,"uuid":"9704203","full_name":"danp/heroku-buildpack-runit","owner":"danp","description":"Run multiple processes in a Heroku dyno, managed by runit","archived":false,"fork":false,"pushed_at":"2022-08-04T19:38:53.000Z","size":11,"stargazers_count":73,"open_issues_count":0,"forks_count":31,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-30T16:50:45.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-26T21:00:40.000Z","updated_at":"2024-09-17T21:37:14.000Z","dependencies_parsed_at":"2022-08-24T03:31:03.221Z","dependency_job_id":null,"html_url":"https://github.com/danp/heroku-buildpack-runit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danp%2Fheroku-buildpack-runit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danp%2Fheroku-buildpack-runit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danp%2Fheroku-buildpack-runit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danp%2Fheroku-buildpack-runit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danp","download_url":"https://codeload.github.com/danp/heroku-buildpack-runit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228393610,"owners_count":17912864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-20T17:14:39.751Z","updated_at":"2024-12-06T00:43:05.283Z","avatar_url":"https://github.com/danp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# heroku-buildpack-runit\n\nA buildpack to run mulitple processes within a dyno via [runit](http://smarden.org/runit/).\n\n## Why?\n\nImagine you want to run nginx in your `web` dynos, binding to `$PORT`, and fronting unicorn. You want them to run individually as if they were specified directly in the `Procfile` (including output to the log stream) without worrying about daemonizing.\n\n## Usage\n\nYou'll probably use this in conjunction with [multiple buildpacks](https://devcenter.heroku.com/articles/using-multiple-buildpacks-for-an-app).\n\nFor every process type (eg `web`) you want to run mulitple processes in, add an entry like this to your `Procfile`:\n\n```\nweb: bin/runsvdir-dyno\n```\n\nThen, create a `Procfile.web` file (where `web` matches the process type in `Procfile`). It might look like this:\n\n```\nnginx: bin/nginx-runner -p $PORT ...\nunicorn: bundle exec unicorn -c config/unicorn.rb ...\n```\n\nNow, when running a `web` dyno, both the `nginx` and `unicorn` processes will run under runit.\n\nIf any process specified in `Procfile.web` crashes, the entire dyno will be restarted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanp%2Fheroku-buildpack-runit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanp%2Fheroku-buildpack-runit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanp%2Fheroku-buildpack-runit/lists"}