mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
nixos/pdns-recursor: reload service on config change
(cherry picked from commit c586196e17
)
This commit is contained in:
parent
2b41bf0585
commit
fce8cd453a
1 changed files with 4 additions and 1 deletions
|
@ -287,7 +287,10 @@ in
|
||||||
|
|
||||||
systemd.packages = [ pkgs.pdns-recursor ];
|
systemd.packages = [ pkgs.pdns-recursor ];
|
||||||
|
|
||||||
systemd.services.pdns-recursor.wantedBy = [ "multi-user.target" ];
|
systemd.services.pdns-recursor = {
|
||||||
|
restartTriggers = [ config.environment.etc."/pdns-recursor/recursor.yml".source ];
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
users.users.pdns-recursor = {
|
users.users.pdns-recursor = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue