force restart event for zone-lf on changes
This commit is contained in:
parent
60ed09d608
commit
86829c93a1
1 changed files with 2 additions and 3 deletions
|
@ -180,10 +180,9 @@ in
|
|||
"f /var/lib/knot/zones/zone-lasuite-federez-net 0644 knot knot -"
|
||||
];
|
||||
|
||||
# Attach knot to writeZoneFile to force knot to restart after rebuild (otherwise no changes will be detected)
|
||||
# Force complete restart on zone changes
|
||||
systemd.services.knot = {
|
||||
partOf = [ "writeZoneFile.service" ];
|
||||
restartTriggers = [ zone-lasuite-federez-net ];
|
||||
restartTriggers = [ zone-lasuite-federez-net zone-lf ];
|
||||
reloadIfChanged = lib.mkForce false;
|
||||
};
|
||||
services.knot = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue