max-mapper / max-mapper/monu

Disable autostart of processes

Open
#24 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
1.1k
Forks
69
PR merge metrics
No merged PRs in 30d

Description

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
    }
  }
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating how config.json is parsed and where the listed processes are autostarted. Compare the proposed global boolean with the per-process object form, then verify that the chosen configuration prevents selected processes from starting while preserving normal process monitoring.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, postgresql, redis
Domain
desktop, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.