simple process manager
Project description
PMO
A lightweight process manager for Linux inspired by PM2, but using YAML configuration and designed primarily for development environments.
Features
- Simple YAML configuration
- Start, stop, and restart services
- Real-time logs with service name highlighting
- Basic process supervision
- Environment variable support
Installation
# Using pip
pip install pmo
Usage
Quick Start
- Create a
pmo.ymlfile in your project:
# Simple format
web-server: node server.js
# Detailed format
api:
cmd: python api.py
cwd: ./api
env:
NODE_ENV: development
- Start your services:
pmo start
Commands
- Start:
pmo start [all | service-name] - Stop:
pmo stop [all | service-name] - Restart:
pmo restart [all | service-name] - Logs:
pmo log [all | service-name] - List:
pmo ps
Configuration
The pmo.yml file supports two formats:
- Simple:
service-name: command - Detailed:
service-name: cmd: command cwd: working directory (optional) env: KEY: value
PMO manages runtime data in the .pmo directory with logs and PID files.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pmo-0.3.6.tar.gz
(19.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pmo-0.3.6-py3-none-any.whl
(13.3 kB
view details)
File details
Details for the file pmo-0.3.6.tar.gz.
File metadata
- Download URL: pmo-0.3.6.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f03afd90d7e25af5f05f41a35e92de4d936c05994a8313b32c6ec114cd93821d
|
|
| MD5 |
3b5a91d89144d63ce181dea20c937649
|
|
| BLAKE2b-256 |
3e0d506b2d8c0702dd1a7e38d20e4c9a252ca4903e584f56cdcad903ce59231c
|
File details
Details for the file pmo-0.3.6-py3-none-any.whl.
File metadata
- Download URL: pmo-0.3.6-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
050d3c2a633bd5674bbecfd6ec81d15f96d7ce0b87c9e59bf69cd58b7f11d1d2
|
|
| MD5 |
094c832b8b251d0a6bf98c7ac37786e0
|
|
| BLAKE2b-256 |
e02b651b6fa172a8d29c29ef502bc3c2824db2bbc87ec13675e90cf26354f64a
|