Skip to main content

Node.js / PM2 operations

v0.1.6

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).

11 allowed by default 4 need approval
Pack ID
nodejs-pm2
Vendor
emisar
OS
linux
Actions
15
Required binaries. Install these on the host before relying on the pack — an action that calls a missing one fails at run time.
pm2 jq

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:9bf4fd1bbac8704548ea43b58a3d0564f3e991b5d913df11a5cf4182da498b55

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

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

Actions 15 total

View on GitHub