diff options
Diffstat (limited to 'debian/postfix.postfix-resolvconf.service')
-rw-r--r-- | debian/postfix.postfix-resolvconf.service | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/debian/postfix.postfix-resolvconf.service b/debian/postfix.postfix-resolvconf.service index 38eeb08..15044d9 100644 --- a/debian/postfix.postfix-resolvconf.service +++ b/debian/postfix.postfix-resolvconf.service @@ -2,8 +2,11 @@ # Works for main/default postfix instance only [Unit] Description=Updates postfix copy of resolv.conf -Documentation=man:postfix(1) man:resolvconf(8) +Documentation=man:postfix(1) +Documentation=file:/usr/share/doc/postfix/README.Debian.gz +ConditionPathExists=/etc/resolv.conf +ConditionPathIsDirectory=/var/spool/postfix/etc [Service] Type=oneshot -ExecStart=/etc/resolvconf/update-libc.d/postfix +ExecStart=cp -pLu /etc/resolv.conf /var/spool/postfix/etc/resolv.conf |