nixos/nsd: always run systemctl of the currently running systemd
This commit is contained in:
parent
b0222a5e9c
commit
52e104cfdf
@ -252,7 +252,7 @@ let
|
|||||||
Use imports or pkgs.lib.readFile if you don't want this data in your config file.
|
Use imports or pkgs.lib.readFile if you don't want this data in your config file.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
dnssec = mkEnableOption "DNSSEC";
|
dnssec = mkEnableOption "DNSSEC";
|
||||||
|
|
||||||
dnssecPolicy = {
|
dnssecPolicy = {
|
||||||
@ -970,7 +970,7 @@ in
|
|||||||
script = signZones;
|
script = signZones;
|
||||||
|
|
||||||
postStop = ''
|
postStop = ''
|
||||||
${pkgs.systemd}/bin/systemctl kill -s SIGHUP nsd.service
|
/run/current-system/systemd/bin/systemctl kill -s SIGHUP nsd.service
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user