Update ocp-install.sh
parent
61888085f6
commit
ed4da8c294
|
|
@ -62,6 +62,7 @@ ocp_config="[
|
||||||
|
|
||||||
wp config set WP_REDIS_CONFIG "$ocp_config" --raw
|
wp config set WP_REDIS_CONFIG "$ocp_config" --raw
|
||||||
wp config set WP_REDIS_DISABLED false --raw
|
wp config set WP_REDIS_DISABLED false --raw
|
||||||
|
wp redis enable
|
||||||
|
|
||||||
# free redis object cache config
|
# free redis object cache config
|
||||||
#wp config set WP_REDIS_CLIENT 'relay'
|
#wp config set WP_REDIS_CLIENT 'relay'
|
||||||
|
|
@ -70,6 +71,6 @@ wp config set WP_REDIS_DISABLED false --raw
|
||||||
#wp config set WP_REDIS_PATH '/var/run/redis/redis.sock'
|
#wp config set WP_REDIS_PATH '/var/run/redis/redis.sock'
|
||||||
#wp config set WP_REDIS_PORT 0 --raw
|
#wp config set WP_REDIS_PORT 0 --raw
|
||||||
#wp config set WP_REDIS_DATABASE 0 --raw
|
#wp config set WP_REDIS_DATABASE 0 --raw
|
||||||
#wp redis enable
|
|
||||||
|
|
||||||
wp cache flush
|
wp cache flush
|
||||||
Loading…
Reference in New Issue