Cron, firewall, swap and log rotation
The maintenance jobs that usually mean a shell session, with the dangerous parts guarded.
Read every cron job on the server — the SSH user’s, root’s, /etc/cron.d and the periodic directories — and edit a crontab with the syntax checked and a backup written before it is installed. Manage ufw or firewalld: the ports actually listening, the rules, allow or deny with a range and a protocol, and a rule that cannot lock you out, because the live SSH port is read from the connection and allowed first. Create or remove a swap file with the memory and disk checked first. Install and configure pm2-logrotate, and flush an app’s logs. Shipown can also tune sshd, clear stale temp files and clean up dead SSH sessions.
Technical Specification & Protocols
Command Execution Pattern
# Atomic release switching pattern:
ln -sfn $HOME/push-ops/apps/<app>/releases/8f21c0 $HOME/push-ops/apps/<app>/current
sudo systemctl reload nginx
pm2 reload ecosystem.config.jsArchitectural Guarantees
- ✓Atomic pointer swap ensures zero downtime during code promotion
- ✓Automated health check verification before live traffic routing
- ✓Instant rollback to previous known-good release on health check failure
Explore More Subsystems
Run Shipown on your desktop today
Available directly for Windows (.exe) and Linux (.deb).
Download Shipown v0.1.0-beta.5.7