Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Added more log
Browse files Browse the repository at this point in the history
  • Loading branch information
villadalmine committed Sep 14, 2016
1 parent 35e2d7b commit 9640105
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions container_files/bin/configure_php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ if [[ $MYSQL_HOST && ${MYSQL_HOST-x} ]] && [[ $MYSQL_USER && ${MYSQL_USER-x} ]
sed -i "s|CHANGE_TO_COMANAGE_MAIL_PORT|$COMANAGE_MAIL_PORT|g" /opt/etc/php/email.php
sed -i "s|CHANGE_TO_COMANAGE_MAIL_USER|$COMANAGE_MAIL_USER|g" /opt/etc/php/email.php
sed -i "s|CHANGE_TO_COMANAGE_MAIL_PASS|$COMANAGE_MAIL_PASS|g" /opt/etc/php/email.php
echo "Variables process was completed without any error" >> $log
else
echo "Variables are not totally filled so no configuration was performed" >> $log

fi
date >> $log

0 comments on commit 9640105

Please sign in to comment.