nginx: safe reload after editing a server block
A short routine to avoid taking a live site down because of a typo.
nginxsystemdlogs
A practical notebook for common software: nginx, systemd, PostgreSQL, logrotate, rsync, Docker Compose, and journald. No account, no ads, no magic scripts.
An offline rack utility: enter a prefix and range, then get labels and CSV for an inventory sheet.
Everyday maintenance tasks, commands and verification steps.
A short routine to avoid taking a live site down because of a typo.
Useful after edits in sites-enabled: the full dump shows the effective configuration instead of guesses.
When /var/log/journal slowly eats the disk, set a limit instead of deleting files by hand.
After editing a unit or override.
sudo systemctl daemon-reload
sudo systemctl restart myapp.service
systemctl status myapp.service --no-pagerBefore starting after a compose file edit.
docker compose config
docker compose up -d
docker compose ps