Node.js / PM2 operations

v0.1.1

PM2 process inventory + logs + per-app introspection, plus narrow mutators (restart, reload, stop, scale). Requires the runner to be the same uid as the PM2 daemon (or set PM2_HOME).

Pack ID
nodejs-pm2
Vendor
emisar
OS
linux
Actions
15
Required binaries: pm2. Actions that call a missing binary fail at run time — install these on the host before relying on the pack.

Install

emisar pack install validates the pack and verifies its content hash before copying it into /etc/emisar/packs. The --hash below pins the install to the exact bytes on this page — a tampered copy is rejected. After install, reload the runner; it re-reads the catalog and advertises every action.

content hash: sha256:c8991f2298bcb0d3b8933dfe6d0b03616fcf63e4cc5bc110fa32ef7816e34fd4

on the runner host
sudo emisar pack install nodejs-pm2 \
  --hash sha256:c8991f2298bcb0d3b8933dfe6d0b03616fcf63e4cc5bc110fa32ef7816e34fd4 \
  --dest /etc/emisar/packs

# Reload so the runner re-reads the catalog:
sudo systemctl reload emisar

Actions 15 total

View on GitHub