Socket
Socket
Sign inDemoInstall

pm4me

Package Overview
Dependencies
264
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pm4me

Simple process manager


Version published
Weekly downloads
1
decreased by-50%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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.

FAQs

Last updated on 12 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc