quoting is hard
All checks were successful
Build OCI Containers / Build Containers (push) Successful in 1m5s

This commit is contained in:
Stefan Harmuth 2024-03-09 18:28:15 +01:00
parent 460cd898bd
commit c77c7494da

View File

@ -5,10 +5,10 @@ for cf in /postfix-config/*.cf; do
done done
for cf in /etc/postfix/*.cf; do for cf in /etc/postfix/*.cf; do
sed -iE -e 's/%DB_PASSWORD%/${DB_PASSWORD}/g' \ sed -iE -e "s/%DB_PASSWORD%/${DB_PASSWORD}/g" \
-e 's/%DB_HOST%/${DB_HOST}/g' \ -e "s/%DB_HOST%/${DB_HOST}/g" \
-e 's/%DB_USER%/${DB_USER}/g' \ -e "s/%DB_USER%/${DB_USER}/g" \
-e 's/%DB_DATABASE%/${DB_DATABASE}/g' ${cf}; -e "s/%DB_DATABASE%/${DB_DATABASE}/g" ${cf};
done done
/usr/sbin/postfix start-fg /usr/sbin/postfix start-fg