Skip to content

Extend process execution definition #20

@devopsmariocom

Description

@devopsmariocom

Currently there is simple format to add new process

  "processes": {
    "web-1": "cd /some/dir;sudo http-server . -p 8081",
  }

This is fine and it's good idea to keep definition simple, but to have config future proof, it would be great if monu can support also object as process definition.

  "processes": {
    "web-1": {
      "command": "http-server . -p 8081",
      "cwd": "/some/dir",
      "sudo": true
    }
  }

I took exec options as inspiration.

I think this will open more possibilities for adding new processes using interactive form rather than editing config file, also it will make config file much more readable.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions