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.5.tar.gz
(18.6 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.5-py3-none-any.whl
(12.5 kB
view details)
File details
Details for the file pmo-0.3.5.tar.gz.
File metadata
- Download URL: pmo-0.3.5.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddb4548aca980a968356e32e8cc8c43d21ba33678dbca05b56feb3f8fb8a71e8
|
|
| MD5 |
19de7ae3066d9ca6604b733caf1bbb95
|
|
| BLAKE2b-256 |
424847abb9117b49951dde6cf6acc84e867029c17fc7f1a892e1b531836392f3
|
File details
Details for the file pmo-0.3.5-py3-none-any.whl.
File metadata
- Download URL: pmo-0.3.5-py3-none-any.whl
- Upload date:
- Size: 12.5 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 |
5802d77ea7c8c5cc67237919466564712345d14e11e091e7aee2c8d2c3f7d376
|
|
| MD5 |
714fea9e327f98c6b6ed33476bf9acd6
|
|
| BLAKE2b-256 |
4b0c7a91631629150de148cac148d4f73503f99359c507c0ee6efc66a39c74ce
|