https://github.com/yi-ge/minipm
A simple process manager for Linux.
https://github.com/yi-ge/minipm
pm pm2 process supervisor
Last synced: about 2 months ago
JSON representation
A simple process manager for Linux.
- Host: GitHub
- URL: https://github.com/yi-ge/minipm
- Owner: yi-ge
- License: mit
- Created: 2023-03-05T09:14:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T02:38:34.000Z (about 2 years ago)
- Last Synced: 2025-03-12T09:58:01.225Z (about 1 year ago)
- Topics: pm, pm2, process, supervisor
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# minipm
`minipm` is a simple process manager written in Go, allowing you to start, stop, and daemonize processes on Linux and automatically restart them to maintain system stability. minipm also provides additional features such as registering services and outputting process lists.
## Installation
First, make sure you have installed Go and Git. Then, clone the minipm repository and install the program with the following commands:
```bash
```
## Usage
To start minipm, run the following command in your terminal:
```bash
minipm
```
This will start the minipm service and wait for input. To add a new process, use the following command:
```bash
minipm run
```
This will add a new process and set its command-line arguments to . minipm will automatically start the process and daemonize it. If the process terminates unexpectedly, minipm will automatically restart it.
To view all currently managed processes, use the following command:
```bash
minipm list
```
This will output a process list containing all currently managed processes and their statuses.
To register the minipm service, use the following command:
```bash
minipm --enable
```
This will register the minipm service to automatically start on system boot. To start the service, use the following command:
```bash
minipm --start
```
This will start the minipm service. To stop the service, use the following command:
```bash
minipm --stop
```
This will stop the minipm service.
## Version
To check the version of minipm, use the following command:
```bash
minipm --version
```
To get help with minipm, use the following command:
```bash
minipm --help
```
## Author
minipm was developed by ChatGPT and Yige. If you have any suggestions or questions, please feel free to contact us.
## License
minipm is licensed under the MIT License. See the LICENSE file for details.