🔄

Process Manager Guide

Verified

by Community

Guides you through managing long-running processes using PM2, systemd units, or Supervisor. Covers process configuration, log management, auto-restart policies, resource limits, clustering, and monitoring.

processmanagerpm2systemdsupervisorservices

Process Manager Guide

Manage long-running processes with PM2, systemd, or Supervisor for reliable service operation.

Usage

Describe the processes you need to manage and this skill will configure the appropriate process manager.

Examples

  • "Set up PM2 to run my Node.js app with cluster mode and auto-restart"
  • "Create a systemd unit file for my Python background worker"
  • "Configure Supervisor for managing multiple microservices"

Guidelines

  • Configure automatic restart with exponential backoff
  • Set memory and CPU limits to prevent resource exhaustion
  • Redirect logs to files with rotation configured
  • Enable process startup on system boot
  • Monitor process uptime and restart counts for health tracking