.onedev-buildspec.yml | Loading last commit info... | |
README.md | ||
pm2ctrl.sh |
README.md
pm2ctrl
A wrapper script for managing PM2 apps.
Requirements
This script requires the following to be installed manually:
- Node.js
- npm
- PM2 (
npm install -g pm2
)
These are not installed automatically to allow user control.
Installation
Manual installation
Download the script manually and place it somewhere in your PATH (e.g., /usr/local/bin
):
curl -Lo pm2ctrl https://code.weexnes.dev/pm2ctrl/~raw/main/pm2ctrl.sh
chmod +x pm2ctrl
sudo mv pm2ctrl /usr/local/bin/
Arch Linux
If you are on Arch Linux or an Arch-based distribution, you can install the package via yay:
yay -S pm2ctrl-git