summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKJ Ørbekk <kj@orbekk.com>2017-05-21 10:54:50 -0400
committerKJ Ørbekk <kj@orbekk.com>2017-05-21 10:54:50 -0400
commit9c3096b5eb9bdcb8beaba0acd9603308cf7cdc2d (patch)
treea2a2ef16ac52428152b8713c6bbe080d59f2482b
parentb95ffd7a20cd5c8e8a4142bd8d2e279ef48e7d13 (diff)
dns: Remove journal on startup
-rw-r--r--config/dns.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/dns.nix b/config/dns.nix
index 535992d..b81dc14 100644
--- a/config/dns.nix
+++ b/config/dns.nix
@@ -34,6 +34,7 @@ in
2a00:1b60:1011::6def:e868; // ns1
2001:67c:29f4::61; // ns2
};
+ notify explicit;
};
'') masterZones}
'';
@@ -41,6 +42,7 @@ in
systemd.services.bind = {
preStart = lib.mkAfter ''
+ rm /var/run/named/*.jnl
cp -f ${zone-files}/* /var/run/named/
'';
};