Race-condition-free deployment with the "symlink replacement" trick On Unix, mv is an atomic operation. This enables a well-known "symlink replacement trick" for race-condition-free website deployment, among other things. Let's create a script that encapsulates the process for general-purpose use. Motivation When deploying an update to a website, if we do something like git pull within our deploym