summaryrefslogtreecommitdiff
path: root/community/nsd/install
diff options
context:
space:
mode:
Diffstat (limited to 'community/nsd/install')
-rw-r--r--community/nsd/install4
1 files changed, 4 insertions, 0 deletions
diff --git a/community/nsd/install b/community/nsd/install
index 5a5f41dd7..6e56e9ba1 100644
--- a/community/nsd/install
+++ b/community/nsd/install
@@ -5,6 +5,10 @@ post_install() {
chmod 700 /var/db/nsd
}
+post_upgrade() {
+ usr/bin/systemd-tmpfiles --create nsd.conf || true
+}
+
post_remove() {
getent passwd nsd &>/dev/null && userdel nsd >/dev/null
getent group nsd &>/dev/null && groupdel nsd >/dev/null