nixos/pdns-recursor: reload service on config change (#414732)

authored by Michele Guerini Rocco and committed by GitHub 6c226608 205925b1

+4 -1
+4 -1
nixos/modules/services/networking/pdns-recursor.nix
··· 287 287 288 288 systemd.packages = [ pkgs.pdns-recursor ]; 289 289 290 - systemd.services.pdns-recursor.wantedBy = [ "multi-user.target" ]; 290 + systemd.services.pdns-recursor = { 291 + restartTriggers = [ config.environment.etc."/pdns-recursor/recursor.yml".source ]; 292 + wantedBy = [ "multi-user.target" ]; 293 + }; 291 294 292 295 users.users.pdns-recursor = { 293 296 isSystemUser = true;