server-management
Installation
SKILL.md
Server Management Principles
A server you can't observe is a server you can't operate. Monitoring is not optional — it is how you find out about problems before your users do.
Process Management
Never run Node.js or Python processes directly in production with node app.js. Use a process manager.
| Tool | Best For | Why |
|---|---|---|
| PM2 | Single-server Node.js | Auto-restart, log rotation, cluster mode |
| systemd | Linux servers, any language | Native to most Linux distros, reliable |
| Supervisor | Python, Ruby, any language | Simple config, battle-tested |
| Docker (+restart policy) | Containerized apps | Portable, consistent across environments |
Core requirement: If the process crashes, it restarts automatically. If it can't restart, you are alerted.