Add the single-instance lock, a terminal close now stopping a bot started from it, the systemd unit's --wait-for-lock (and that install-service.sh only replaces an existing unit with --upgrade), the heartbeat-based Docker healthcheck, and the {path_names} placeholder.