shipnode doctor
npx shipnode doctornpx shipnode doctor --securityRuns a series of checks:
- Config validates against the schema
- SSH connectivity + sudo access on the server
- Node.js, PM2, Caddy presence and version
- Release directory permissions
- Free disk space
- Caddy is serving the configured domain
--security swaps in a server hardening audit instead: SSH config, firewall rules, fail2ban status, exposed ports.
Options
Section titled “Options”| Flag | Purpose |
|---|---|
--security | Run a security audit instead of standard checks. |
--config <path> | Use a non-default config file. |