Skip to main content

A system for controlling process state under UNIX

Project description

This project is a fork of the [Supervisor](https://github.com/Supervisor/supervisor) project. The original project is licensed under the following terms: https://github.com/Supervisor/supervisor/blob/main/LICENSES.txt

What’s New

Add init_py config in supervisord to do init job

[supervisord]
init_py=%(here)s/init_supervisord.py
  • import the py file and call the main(logger_obj) function

Fork to create subprocess, not only execve

[program:app1]
fork_command=%(here)s/my_app2.py arg1 arg2
  • fork_command must reference to a python script, arg is optional. call the main(arg1, arg2, …) in the py

Contributing

We’ll review contributions from the community in pull requests on GitHub.

4.3.0.dev1

  • Add init_py config in supervisord to do init job

  • Fork to create subprocess, not only execve

base on https://github.com/Supervisor/supervisor/blob/main/CHANGES.rst 4.3.0.dev0 (Next Release)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

supervisor_fork-4.3.0.dev3.tar.gz (384.0 kB view hashes)

Uploaded Source

Built Distribution

supervisor_fork-4.3.0.dev3-py2.py3-none-any.whl (293.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page