summaryrefslogtreecommitdiffstats
path: root/debian/postfix-resolvconf.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postfix-resolvconf.service')
-rw-r--r--debian/postfix-resolvconf.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/postfix-resolvconf.service b/debian/postfix-resolvconf.service
new file mode 100644
index 0000000..735638b
--- /dev/null
+++ b/debian/postfix-resolvconf.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Copies updated resolv.conf to postfix chroot and restarts postfix.
+
+[Service]
+Type=simple
+ExecStart=/etc/resolvconf/update-libc.d/postfix
+
+[Install]
+WantedBy=multi-user.target