bundlewrap/bundles/postfix/files/arch-override.conf
Franziska Kunsmann b193971625
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles/postfix: fix some needed files not being present in chroot on arch
2021-07-10 16:16:56 +02:00

6 lines
286 B
Text

[Service]
# arch postfix is not set up for chrooting by default
ExecStartPre=-/usr/sbin/mkdir -p /var/spool/postfix/etc
% for file in ['/etc/localtime', '/etc/nsswitch.conf', '/etc/resolv.conf', '/etc/services']:
ExecStartPre=-/usr/sbin/cp -p ${file} /var/spool/postfix${file}
% endfor