Like pm2 but without node.js
Project description
pm5 (process manager)
- Install pm5 via:
pip install pm5
- Create an ecosystem file (e.g.
ecosystem.config.json
) - Run
pm5
to start all configured services
Field | Type | Example | Description |
---|---|---|---|
disabled | boolean | false | Enable or disable the service |
name | string | Test Application 1 | The name of the service used for debugging |
interpreter | string | python3.9 | The path to the interpreter |
interpreter_args | string[] | [] | The args passed to the interpreter |
script | string | test.py | The script to call |
args | string[] | [] | The args passed to the script |
instances | number | 1 | The number of instance of the script to run |
wait_ready | boolean | true | Wait for the service to load before continuing to the next service |
autorestart | boolean | true | Automatically restart the service |
max_restarts | number | 3 | The number of times to autorestart the service if failure before exiting |
env | object | {} | An object of environment key values that should be passed to the script |
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
pm5-0.0.10.tar.gz
(5.2 kB
view hashes)
Built Distribution
pm5-0.0.10-py3-none-any.whl
(6.3 kB
view hashes)