Metadata-Version: 2.1
Name: supervisor-fork
Version: 4.3.0.dev2
Summary: A system for controlling process state under UNIX
Home-page: https://github.com/xiewendan/supervisor-fork
Author: xiewendan
Author-email: stephenxjc@126.com
License: BSD-derived (http://www.repoze.org/LICENSE.txt)
Project-URL: Changelog, https://github.com/xiewendan/supervisor-fork/blob/main/CHANGES.rst
Project-URL: Documentation, https://github.com/xiewendan/supervisor-fork/blob/main/README.rst
Project-URL: Issue Tracker, https://github.com/xiewendan/supervisor-fork
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: No Input/Output (Daemon)
Classifier: Intended Audience :: System Administrators
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX
Classifier: Topic :: System :: Boot
Classifier: Topic :: System :: Monitoring
Classifier: Topic :: System :: Systems Administration
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/x-rst
License-File: LICENSES.txt
Requires-Dist: setproctitle
Requires-Dist: setuptools ; python_version < "3.8"
Provides-Extra: testing
Requires-Dist: pytest ; extra == 'testing'
Requires-Dist: pytest-cov ; extra == 'testing'

Supervisor-fork
===============

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
------------------------------------------------

.. code-block:: conf

  [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
------------------------------------------
.. code-block:: conf

  [program:app1]
  command=%(here)s/my_app2.py arg1 arg2
  is_module=true

- command must reference to a python script, arg is optional
- is_module=true：not use execve to start the command, but use fork in supervisord, and call the main(arg1, arg2, ...) in the py

.. note::
  not config init_py and is_module, you use it as the original supervisor


Contributing
------------

We'll review contributions from the community in
`pull requests <https://help.github.com/articles/using-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)
