Skip to content

Disable autostart of processes #24

@marcbachmann

Description

@marcbachmann

I'd like to disable the autostart for some processes.
Maybe we can expose it in the config:

// config.json
{
  "autostart": false,
  "logs": "./logs",
  "processes": {
    "redis": "redis-server",
    "postgres": "/usr/local/opt/postgresql/bin/postgres -D /usr/local/var/postgres",
    "mongodb": "/usr/local/bin/mongod --config /usr/local/etc/mongod.conf --auth"
  }
}

A more flexible solution would be to use an object literal or array for the process definition.

// config.json
{
  "logs": "./logs",
  "pids": "./pids",
  "processes": {
    "redis": {
      "command": "redis-server",
      "autostart": true
    }
  }
}

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