File: postfix.postfix-resolvconf.service

package info (click to toggle)
postfix 3.10.5-3
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 27,972 kB
  • sloc: ansic: 134,706; makefile: 17,984; sh: 6,971; perl: 2,796; python: 1,448; awk: 158
file content (12 lines) | stat: -rw-r--r-- 421 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
# Update postfix in-chroot copy of /etc/resolv.conf
# Works for main/default postfix instance only
[Unit]
Description=Updates postfix copy of resolv.conf
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=cp -pLu /etc/resolv.conf /var/spool/postfix/etc/resolv.conf