Loading
nixos/syncthing: Fix race condition when updating from 1.x to 2.x
Before this change, if you had a NixOS configuration that used an older version of Nixpkgs that provides Syncthing version 1.x, and you upgraded to a newer version of Nixpkgs that provides Syncthing version 2.x, then you might have encountered a race condition which causes syncthing-init.service to fail. This commit prevents that race condition from happening. This should make it safer for users to upgrade from Syncthing version 1.x to Syncthing version 2.x. Fixes #465573.