pm4me
v0.0.8
Published
Simple process manager
Downloads
8
Readme
PM4ME - is a simple process manager
Warning: It is work-in-progress, not for production use.
How to use
You need to create a configuration file (default name is pm4me.json
) defining running services.
Example:
{
"services": [
{
"name": "FE Admin",
"script": "yarn frontend-admin"
},
{
"name": "FE Mobile",
"script": "yarn frontend-hcpmobile"
},
{
"name": "API Main",
"script": "yarn api-main"
},
{
"name": "API Documents",
"script": "yarn api-documents"
},
{
"name": "API Payments",
"script": "yarn api-payments"
}
]
}
Fields for services:
- name - Generic name for the service
- script - Command running in the loop
- cwd - (Optional) Working directory
- restartAfter - Pause (in milliseconds) between restarting the app. Default - 3 seconds.
Stay in touch
- Author - Alexey Petushkov
License
Nest is MIT licensed.