{"id":18104505,"url":"https://github.com/springmt/unicorn_process_manager","last_synced_at":"2025-07-21T03:32:25.007Z","repository":{"id":7860945,"uuid":"9233140","full_name":"SpringMT/unicorn_process_manager","owner":"SpringMT","description":null,"archived":false,"fork":false,"pushed_at":"2013-11-13T01:59:04.000Z","size":124,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T06:16:17.959Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpringMT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-05T03:29:13.000Z","updated_at":"2013-11-13T01:59:07.000Z","dependencies_parsed_at":"2022-09-03T09:40:38.295Z","dependency_job_id":null,"html_url":"https://github.com/SpringMT/unicorn_process_manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SpringMT/unicorn_process_manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Funicorn_process_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Funicorn_process_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Funicorn_process_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Funicorn_process_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpringMT","download_url":"https://codeload.github.com/SpringMT/unicorn_process_manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringMT%2Funicorn_process_manager/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266235398,"owners_count":23897179,"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-31T22:15:00.913Z","updated_at":"2025-07-21T03:32:24.981Z","avatar_url":"https://github.com/SpringMT.png","language":"Ruby","readme":"# UnicornProcessManager\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'unicorn_process_manager', github: 'SpringMT/unicorn_process_manager'\n\nAnd then execute:\n\n    $ bundle\n\n**The gem doesn't upload rubygems.org!**\n\n## Usage\n\n### sample script\n\n* script/unicorn_manager\n\n~~~~\n#!/usr/bin/env ruby\n# encoding: UTF-8\n\nrequire 'optparse'\nrequire 'unicorn_process_manager'\n\naction = ARGV.shift || '\n\nrails_env  = 'production'\nrails_home = \"#{ENV['HOME']}/hoge\"\ntimeout    = 60\n\nopt = OptionParser.new(ARGV)\nopt.on('-e rails_env') { |e| rails_env = e }\nopt.on('-h rails_home') { |h| rails_home = h }\nopt.on('-t timeout_sec') { |t| timeout = t.to_i }\nopt.parse!\n\nunicorn = UnicornProcessManager.new(rails_env, rails_home, timeout)\n\nunicorn.send action'\n\n~~~~\n\n### command\n\n~~~~~\nscript/unicorn_manager {start|stop|restart|status|reopen_log} [-e RAILS_ENV] [-h RAILS_HOME] [-t timeout_sec] [-p port]\n~~~~~\n\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmt%2Funicorn_process_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringmt%2Funicorn_process_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringmt%2Funicorn_process_manager/lists"}