summarylogtreecommitdiffstats
path: root/hook
diff options
context:
space:
mode:
Diffstat (limited to 'hook')
-rw-r--r--hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/hook b/hook
new file mode 100644
index 000000000000..242059215e48
--- /dev/null
+++ b/hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Target = etc/trusted-key.key
+Operation = Install
+Operation = Upgrade
+
+[Action]
+Description = Updating trusted-key.key for unbound...
+When = PostTransaction
+Exec = /bin/cp -f /etc/trusted-key.key /etc/unbound/