{ "info": { "author": "MaxiL", "author_email": "maxil@interserv.com.tw", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "\ufeff\nstartup gunicorn as service\n====\nAdd python file as service in /etc/init.d/\n\nexample: /etc/init.d/myproj\n\n #!/usr/local/bin/python\n\n\n import sys, os\n \n from gunicorn_service import ServiceSetting, gunicorn_service\n\n # \n # work dir setting in /home/project/myproj.py\n # and work dir contains wsgi as startup module\n #\n p = ServiceSetting( config=\"/home/project/myproj.py\"\n name=os.path.basename(__file__), \n exe=\"/usr/local/bin/gunicorn\" )\n\n\n gunicorn_service( p )\n\n\nmyproj.py\n settings = \"Game.settings.local\" \n bind = \"0.0.0.0:55555\" \n backlog = 512 \n user = \"root\" \n workers = 1 \n worker_connections = 2048 \n daemon = True \n max_requests = 40000\n chdir = \"/hoem/Server/Game\"\n worker_class = \"gevent\" \n access_logfile = \"/var/log/access.log\"\n error_logfile = \"/var/log/error.log\"\n \n\n \n \nuse service start| stop | stat, and try chkconfig myproj on \n\n\nuse one config to startup standalone or startup as a service..\n\n\n\nFix.. start with pid, and restart..", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/maxi119/gunicorn_service", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/maxi119/gunicorn_service", "keywords": "gunicorn service", "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "gunicorn-service", "package_url": "https://pypi.org/project/gunicorn-service/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/gunicorn-service/", "project_urls": { "Download": "https://github.com/maxi119/gunicorn_service", "Homepage": "https://github.com/maxi119/gunicorn_service" }, "release_url": "https://pypi.org/project/gunicorn-service/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "let gunicorn easy install as a service", "version": "0.0.3" }, "last_serial": 1154470, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "bdaa1713c401bc29338bd1d6ae2da587", "sha256": "e9c35e77a88ce5dee57a57e8b664159b53e4786bcba94c0c59d95d3e6bf15c7f" }, "downloads": -1, "filename": "gunicorn-service-0.0.1.zip", "has_sig": false, "md5_digest": "bdaa1713c401bc29338bd1d6ae2da587", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5503, "upload_time": "2014-06-09T08:22:01", "url": "https://files.pythonhosted.org/packages/26/9d/7878651ebd0007ad85f1ac4984563e15742236b8aa0b65a683c4d03d93b9/gunicorn-service-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "c4378ddcd5c7e3304df36cc3a235b0a3", "sha256": "3d01549aaa7e83feae077dfd2ab15afb4316feb145a75cbfbd33ecfe45e156e8" }, "downloads": -1, "filename": "gunicorn-service-0.0.2.zip", "has_sig": false, "md5_digest": "c4378ddcd5c7e3304df36cc3a235b0a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5535, "upload_time": "2014-07-11T08:33:10", "url": "https://files.pythonhosted.org/packages/5d/29/1b34cca83aa4b66b64437b4db8aabc6124871428222e806027f3e0a72f7e/gunicorn-service-0.0.2.zip" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c03df73a053cb5e7796c725b02027fd5", "sha256": "19fa82f7c51c0528c5313f054c87d4bc6c4e7c3951d44dc4bb38c41690870f18" }, "downloads": -1, "filename": "gunicorn-service-0.0.3.zip", "has_sig": false, "md5_digest": "c03df73a053cb5e7796c725b02027fd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5662, "upload_time": "2014-07-11T09:37:05", "url": "https://files.pythonhosted.org/packages/44/58/4bb0e237491921b603418944e111e1f644269bdb44b0aeec8844bb4cbbe4/gunicorn-service-0.0.3.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c03df73a053cb5e7796c725b02027fd5", "sha256": "19fa82f7c51c0528c5313f054c87d4bc6c4e7c3951d44dc4bb38c41690870f18" }, "downloads": -1, "filename": "gunicorn-service-0.0.3.zip", "has_sig": false, "md5_digest": "c03df73a053cb5e7796c725b02027fd5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5662, "upload_time": "2014-07-11T09:37:05", "url": "https://files.pythonhosted.org/packages/44/58/4bb0e237491921b603418944e111e1f644269bdb44b0aeec8844bb4cbbe4/gunicorn-service-0.0.3.zip" } ] }