選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

run.sh 483B

12345678910111213141516
  1. #! /usr/bin/env sh
  2. sed -e "s/hosts *=.*/hosts = ${POSTGRES_HOST}/g" -i /etc/postfix/pgsql_*
  3. sed -e "s/user *=.*/user = ${POSTGRES_USER}/g" -i /etc/postfix/pgsql_*
  4. sed -e "s/password *=.*/password = ${POSTGRES_PASSWORD}/g" -i /etc/postfix/pgsql_*
  5. sed -e "s/dbname *=.*/dbname = ${POSTGRES_DB}/g" -i /etc/postfix/pgsql_*
  6. postconf -e mydomain="${MAIL_DOMAIN}"
  7. postconf -e myhostname="${MAIL_HOSTNAME}"
  8. service rsyslog start
  9. service postfix start
  10. sleep 3
  11. tail -f /var/log/mail.info