Keep a deploy reviewable
Make the smallest change that delivers the feature. Record the current settings before a rollout, check the proposed configuration, and keep a copy that can be restored while the previous version is still fresh in mind.
Personal notes on Linux, Python, and keeping small web services easy to run.
Make the smallest change that delivers the feature. Record the current settings before a rollout, check the proposed configuration, and keep a copy that can be restored while the previous version is still fresh in mind.
Give each request a deadline. Report the HTTP status, the elapsed time, and an exit code a script can act on. If the check is meant to confirm a release, test for a small marker in the response body as well.
Use systemctl status to confirm what is running, then use journalctl -u with a narrow time range. Compare the first error to the time of the most recent change.