https://github.com/alancoding/supervisor_examples
Testing space for supervisord configurations and impacts of settings
https://github.com/alancoding/supervisor_examples
Last synced: 4 months ago
JSON representation
Testing space for supervisord configurations and impacts of settings
- Host: GitHub
- URL: https://github.com/alancoding/supervisor_examples
- Owner: AlanCoding
- Created: 2022-11-08T16:38:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-10T14:56:35.000Z (over 1 year ago)
- Last Synced: 2025-01-03T05:38:35.401Z (6 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Supervisord examples
This has live demos to demonstrate the effects of supervisord config.
See the docs at:http://supervisord.org/configuration.html
The command to run this in the foreground is this:
```
supervisord --pidfile=./supervisor_pid --configuration=demo.conf --nodaemon
```While you have that running, you should check on it in another tab:
```
supervisorctl --configuration=demo.conf status
```That should give output like this:
```
$ supervisorctl --configuration=demo.conf status
fail-slowly RUNNING pid 1022768, uptime 0:00:03
fail-too-fast FATAL Exited too quickly (process log may have details)
fail-zero RUNNING pid 1022789, uptime 0:00:00
```You probably want to run this in a virtual environment, I used `python script.py`
type of invocation in order to be agnostic to your python environment.