summarylogtreecommitdiffstats
path: root/dnssec-triggerd.service
diff options
context:
space:
mode:
Diffstat (limited to 'dnssec-triggerd.service')
-rw-r--r--dnssec-triggerd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/dnssec-triggerd.service b/dnssec-triggerd.service
new file mode 100644
index 00000000000..aad25da374a
--- /dev/null
+++ b/dnssec-triggerd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Reconfigure local DNSSEC resolver on network change
+Wants=dnssec-triggerd-keygen.service unbound.service
+After=dnssec-triggerd-keygen.service unbound.service network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/dnssec-triggerd -d -c /etc/dnssec-trigger/dnssec-trigger.conf
+ExecStartPost=/etc/NetworkManager/dispatcher.d/01-dnssec-trigger
+Restart=always
+
+[Install]
+WantedBy=multi-user.target