Skip to content

Add atm start, atm status and atm stop commands #130

Description

@csala

Add CLI commands to start ATM as a cluster.

Options should work as follows:

  • atm start: starts one or more workers in background, in wait mode
  • atm stop: stops all the workers
  • atm status: shows information about whether there is a cluster running or not and about how many workers it has.

The start command should start a master process using python-daemon, and this should use multiprocessing to spawn other workers as required.
A pid file for the master process should be used to control whether the ATM is up or not.

Also, optionally, the start command should spawn a REST API app on a separated process.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions