Skip to content

Commit

Permalink
move REDISPTXT
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 authored Aug 30, 2019
1 parent 58a73ff commit 2598a17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wordpress_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ sed -i "s|post_max_size =.*|post_max_size = 110M|g" /etc/php/"$PHPVER"/fpm/php.i
sed -i "s|cgi.fix_pathinfo =.*|cgi.fix_pathinfo=0|g" /etc/php/"$PHPVER"/fpm/php.ini
sed -i "s|date.timezone =.*|date.timezone = Europe/Stockholm|g" /etc/php/"$PHPVER"/fpm/php.ini

# Make sure the passwords are the same, this file will be deleted when Redis is run.
check_command echo "$REDIS_PASS" > $REDISPTXT

# Install Redis
run_static_script redis-server-ubuntu

Expand Down Expand Up @@ -312,9 +315,6 @@ define( 'WP_DEBUG', false );
define( 'WP_MEMORY_LIMIT', '128M' );
PHP

# Make sure the passwords are the same, this file will be deleted when Redis is run.
check_command echo "$REDIS_PASS" > $REDISPTXT

# Install Wordpress
check_command wp_cli_cmd core install --url=http://"$ADDRESS"/ --title=Wordpress --admin_user=$WPADMINUSER --admin_password="$WPADMINPASS" [email protected] --skip-email
echo "WP PASS: $WPADMINPASS" > /var/adminpass.txt
Expand Down

0 comments on commit 2598a17

Please sign in to comment.