Toolverse
All skills

pm2

by openclaw

Manage Node.js applications with PM2 process manager. Use for deploying, monitoring, and auto-restarting Node apps in production. Covers starting apps, viewing logs, setting up auto-start on boot, and managing multiple processes.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
openclaw
Category
DevOps
Views
2

About this skill

Manage Node.js applications with PM2 process manager. Use for deploying, monitoring, and auto-restarting Node apps in production. Covers starting apps, viewing logs, setting up auto-start on boot, and managing multiple processes.

How to use

  1. Zainstaluj PM2 globalnie na swoim serwerze: npm install -g pm2. To narzędzie będzie dostępne w linii poleceń na całym systemie.

  2. Uruchom swoją aplikację Node.js za pomocą PM2. Jeśli używasz skryptu npm, wpisz: pm2 start npm --name "moja-app" -- start. Zastąp "moja-app" nazwą, którą chcesz nadać procesowi. Możesz też uruchomić bezpośrednio plik: pm2 start app.js.

  3. Sprawdzaj status i logi aplikacji. Wpisz pm2 list, aby zobaczyć wszystkie uruchomione procesy, ich status i zużycie zasobów. Aby wyświetlić logi: pm2 logs moja-app dla konkretnej aplikacji lub pm2 logs dla wszystkich.

  4. Skonfiguruj auto-start przy rozruchu systemu. Wpisz pm2 save, aby zapisać bieżącą listę procesów, a następnie pm2 startup. Skopiuj i wykonaj wygenerowaną komendę z sudo — PM2 będzie teraz automatycznie uruchamiać aplikacje po restarcie serwera.

  5. Zarządzaj procesami w trakcie działania. Użyj pm2 restart moja-app do restartu, pm2 stop moja-app do zatrzymania lub pm2 reload moja-app do restartowania bez przestojów (zero-downtime reload).

  6. Dla zaawansowanej konfiguracji utwórz plik ecosystem.config.js z ustawieniami zmiennych środowiskowych, ścieżek i portów, a następnie uruchom: pm2 start ecosystem.config.js.

Related skills

azure-devops-rest-api

by Tiberriver256

Guide for working with Azure DevOps REST APIs and OpenAPI specifications. Use this skill when implementing new Azure DevOps API integrations, exploring API capabilities, understanding request/response formats, or referencing the official OpenAPI specifications from the

DevOps
995

drawio-diagrams-enhanced

by jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams,

DevOps
918943

senior-computer-vision

by davila7

World-class computer vision skill for image/video processing, object detection, segmentation, and visual AI systems. Expertise in PyTorch, OpenCV, YOLO, SAM, diffusion models, and vision transformers. Includes 3D vision, video analysis, real-time processing, and production

DevOps
1044

crawl4ai

by basher83

This skill should be used when users need to scrape websites, extract structured data, handle JavaScript-heavy pages, crawl multiple URLs, or build automated web data pipelines. Includes optimized extraction patterns with schema generation for efficient, LLM-free extraction.

DevOps
11128

draw-io

by davila7

draw.io diagram creation, editing, and review. Use for .drawio XML editing, PNG conversion, layout adjustment, and AWS icon usage.

DevOps
1693

pmbok-project-management

by jgtolentino

Comprehensive PMP/PMBOK project management methodologies and best practices. Use this skill when users need guidance on project management processes, templates, knowledge areas, process groups, tools, techniques, or certification preparation. Covers all 10 PMBOK Knowledge Areas

DevOps
21133