cms-dev / cms-dev/cms

Introduce a better interface instead of `process_cmdline`

Open
#142 3 comments 0 reactions 1 assignee View on GitHub

@lw is already working on this.

Since Apr 4, 2017.

rs
Dominant language
Python
Stars
1k
Forks
412
Avg merge
6d 10h
Merged PRs (30d)
3

Description

ResourceService checks the state of launched services and servers by comparing all running processes' command lines against the process_cmdline provided in the configuration. This is not a very nice interface, also because it requires user to adapt to their case what in theory is a feature of the system that they shouldn't control directly.

I propose to use the more classical solution of writing a pidfile when a process starts. RS can check the processes indicated in these pidfiles.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.