test Drupal site working on Koality Theme Builder
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

29 righe
376 B

4 anni fa
  1. #!/bin/bash
  2. # set up ssmtp
  3. if [[ $SESmailhub ]]; then
  4. cat << EOF > /etc/ssmtp/ssmtp.conf
  5. debug=yes
  6. mailhub=$SESmailhub
  7. Hostname=$HOSTNAME
  8. FromLineOverride=yes
  9. UseSTARTTLS=yes
  10. EOF
  11. fi
  12. if [[ $SESAuthUser ]]; then
  13. cat << EOF >> /etc/ssmtp/ssmtp.conf
  14. $SESAuthUser
  15. EOF
  16. fi
  17. if [[ $SESAuthPass ]]; then
  18. cat << EOF >> /etc/ssmtp/ssmtp.conf
  19. $SESAuthPass
  20. EOF
  21. fi
  22. apache2-foreground