Set the redis passwd properly in bootstrap.sh

This commit is contained in:
Martin Pépin 2017-04-25 20:23:51 +01:00
parent dbff7740c8
commit fb4258f821

View file

@ -24,8 +24,9 @@ mysql -uroot -p$DBPASSWD -e "CREATE DATABASE $DBNAME; GRANT ALL PRIVILEGES ON $D
mysql -uroot -p$DBPASSWD -e "GRANT ALL PRIVILEGES ON test_$DBNAME.* TO '$DBUSER'@'localhost'"
# Configuration de redis
echo "requirepass dummy" >> /etc/redis/redis.conf
service redis restart
REDIS_PASSWD="dummy"
redis-cli CONFIG SET requirepass $REDIS_PASSWD
redis-cli -a $REDIS_PASSWD CONFIG REWRITE
# Installation et configuration d'Apache
apt-get install -y apache2