{"id":20910711,"url":"https://github.com/illagrenan/ubuntu-supervisor-configuration","last_synced_at":"2025-07-24T22:36:51.013Z","repository":{"id":148355142,"uuid":"56051036","full_name":"illagrenan/ubuntu-supervisor-configuration","owner":"illagrenan","description":"How to install and configure Supervisor using pip on Ubuntu 14.04.x || 16.04.x.","archived":false,"fork":false,"pushed_at":"2017-06-26T20:37:52.000Z","size":11,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-28T07:06:58.719Z","etag":null,"topics":["supervisor","ubuntu"],"latest_commit_sha":null,"homepage":"","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/illagrenan.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-04-12T09:48:41.000Z","updated_at":"2020-10-31T11:36:29.000Z","dependencies_parsed_at":"2023-05-19T20:45:20.643Z","dependency_job_id":null,"html_url":"https://github.com/illagrenan/ubuntu-supervisor-configuration","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/illagrenan%2Fubuntu-supervisor-configuration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illagrenan%2Fubuntu-supervisor-configuration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illagrenan%2Fubuntu-supervisor-configuration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/illagrenan%2Fubuntu-supervisor-configuration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/illagrenan","download_url":"https://codeload.github.com/illagrenan/ubuntu-supervisor-configuration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232152564,"owners_count":18479958,"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":["supervisor","ubuntu"],"created_at":"2024-11-18T14:16:53.677Z","updated_at":"2025-01-02T04:26:54.435Z","avatar_url":"https://github.com/illagrenan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tutorial how to install Supervisor on Ubuntu 14.04/16.04 (LTS versions) using pip\n\n[![Build Status](https://travis-ci.org/illagrenan/ubuntu-supervisor-configuration.svg?branch=master)](https://travis-ci.org/illagrenan/ubuntu-supervisor-configuration)\n\n**1) Install pip and supervisor:**\n\n```bash\n[sudo] pip install --upgrade pip\nsudo pip install --upgrade supervisor\n```\n\n**2) Add init script from this repository:**\n\n```bash\nsudo curl https://raw.githubusercontent.com/illagrenan/ubuntu-supervisor-configuration/master/supervisor.sh \u003e /etc/init.d/supervisor\n```\n:bulb: Before executing this command, you should [review `supervisor.sh`](https://github.com/illagrenan/ubuntu-supervisor-configuration/blob/master/supervisor.sh)\n\n**3) Add *‚execute‘* permission:**\n\n```bash\nsudo chmod +x /etc/init.d/supervisor\n```\n\n**4) Schedule:**\n\n```bash\nsudo update-rc.d supervisor defaults\n```\n\n**5) Create main configuration file**\n\nYou have two options: **5A)** Use configuration [file from this repository](https://github.com/illagrenan/ubuntu-supervisor-configuration/blob/master/supervisord.conf) *OR* **5B)** Use [standard supervisor configuration file](http://supervisord.org/installing.html#creating-a-configuration-file).\n\n**5A)**\n\nDo not forget to **follow** steps 6)+7)\n\n```bash\nmkdir -p /etc/supervisor/\nsudo curl https://raw.githubusercontent.com/illagrenan/ubuntu-supervisor-configuration/master/supervisord.conf \u003e /etc/supervisor/supervisord.conf\n```\n\n**5B)**\n\n**Skip** steps 6)+7)\n\n```bash\necho_supervisord_conf \u003e /etc/supervisord.conf\n```\n\n**(only for 5A) 6) Create log and conf directories:**\n\n```bash\nmkdir -p /var/log/supervisor\nmkdir -p /etc/supervisor/conf.d/\n```\n\n**(only for 5A) 7) Create new group:**\n\nSee `chown=root:supervisor` in configuration.\n\n```bash\ngroupadd supervisor\n```\n\n**8) Fix supervisorctl**\n\nMore info here: http://stackoverflow.com/a/17036409/752142\n\n```bash\nln -s /etc/supervisor/supervisord.conf /etc/supervisord.conf\n```\n\n**9) Use it:**\n\n```bash\nservice supervisor stop\nservice supervisor start\n```\n\n## Resources\n\n* [Supervisor homepage and docs](http://supervisord.org/)\n* [http://serverfault.com/a/96500/100080](http://serverfault.com/a/96500/100080)\n* [https://github.com/Supervisor/initscripts/blob/master/ubuntu](https://github.com/Supervisor/initscripts/blob/master/ubuntu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillagrenan%2Fubuntu-supervisor-configuration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fillagrenan%2Fubuntu-supervisor-configuration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fillagrenan%2Fubuntu-supervisor-configuration/lists"}