
This makes the service fail when upgrading the package, so let's properly restart it instead. (cherry picked from commit b4c069b1476a92a540e906ef95cd7fb380d29c63)
*** NixOS *** NixOS is a Linux distribution based on the purely functional package management system Nix. More information can be found at https://nixos.org/nixos and in the manual in doc/manual.