summaryrefslogtreecommitdiffstats
path: root/debian/postfix.postfix-resolvconf.path
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:59:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 19:59:04 +0000
commitcc0cf222a55b518d86e9179ba08c61c298144c61 (patch)
tree98ad9d9c8459e9f7347678bbbaed28fa30739f6e /debian/postfix.postfix-resolvconf.path
parentAdding upstream version 3.8.5. (diff)
downloadpostfix-cc0cf222a55b518d86e9179ba08c61c298144c61.tar.xz
postfix-cc0cf222a55b518d86e9179ba08c61c298144c61.zip
Adding debian version 3.8.5-1.debian/3.8.5-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postfix.postfix-resolvconf.path')
-rw-r--r--debian/postfix.postfix-resolvconf.path11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/postfix.postfix-resolvconf.path b/debian/postfix.postfix-resolvconf.path
new file mode 100644
index 0000000..60380d2
--- /dev/null
+++ b/debian/postfix.postfix-resolvconf.path
@@ -0,0 +1,11 @@
+[Unit]
+Description=Watch for resolv.conf updates and restart postfix
+ConditionPathExists=/etc/resolv.conf
+
+[Path]
+PathChanged=/etc/resolv.conf
+Unit=postfix-resolvconf.service
+
+[Install]
+WantedBy=multi-user.target
+