Running a server
Keep a server in good shape: logs get rotated, the disk never fills up, services come back on their own, and backups are in place.
- Count a user's processeseasy
- Write a service's PID to a pidfilemedium
- Who took port 8080?medium
- Find the process eating your CPUmedium
- Disk is fullmedium
- Archive old logsmedium
- Auto-cleanup of temporary filesmedium
- Set up log rotationmedium
- Daily Rotation with a Datemedium
- Cron with MAILTO and PATHmedium
- Write a healthcheckmedium
- Disk alert scriptmedium
- Mirror backup with rsyncmedium
- The queue worker's log ate the diskmedium
- systemd: write and validate a unitmedium
- Keep a daemon alive with supervisormedium
- A Group of Services in supervisormedium