From cd6e9941813808b2ec9f16d585bb484bb83017da Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Fri, 15 Mar 2019 17:08:47 +0100 Subject: [PATCH] another fix for indentation --- README.md | 6 +++--- wo/cli/plugins/stack.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9de92e4..d876f3f 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,7 @@ sudo wo site create example.com --wp # Install required packages & setup Wor WordOps made some fundamental changes: -- We've deprecated the mail stack. Less is more. As an alternative, take a look at [iRedMail](https://www.iredmail.org/) or [Caesonia](https://github.com/vedetta-com/caesonia). And an alternative for Roundcube is [Rainloop](https://www.rainloop.net/). +- We've deprecated the mail stack. As an alternative, you can take a look at [Mail-in-a-Box](https://github.com/mail-in-a-box/mailinabox), [iRedMail](https://www.iredmail.org/) or [Caesonia](https://github.com/vedetta-com/caesonia). As Roundcube alternative, there is [Rainloop](https://www.rainloop.net/) or [Afterlogic WebMail](https://github.com/afterlogic/webmail-lite-8) - Support for w3tc is dropped as a security precaution. - PHP 5.6 has been replaced by PHP 7.2 and PHP 7.0 has been replaced by PHP 7.3. - Nginx-ee package has been replaced by Nginx-wo (based on Nginx stable v1.14.2) @@ -71,7 +71,8 @@ We are still working on the script to migrate from EasyEngine v3 to WordOps. Her - Previous php upstreams in Nginx will not be overwritted - php5.6 and php7.0 will not be removed or uninstalled - previous Nginx common configurations will not be overwritted - A step by step guide will be published soon to explain how to fully migrate from EasyEngine v3 to WordOps. + +A tutorial will be available soon to explain how to fully migrate from EasyEngine v3 to WordOps. ## Usage @@ -121,7 +122,6 @@ wo site create example.com --proxy=127.0.0.1:3000 # create example.com with ngi | **Nginx fastcgi_cache** | --wpfc | --wpsubdir --wpfc | --wpsubdomain --wpfc | | **Redis cache** | --wpredis | --wpsubdir --wpredis | --wpsubdomain --wpredis | - ## Update WordOps ```bash diff --git a/wo/cli/plugins/stack.py b/wo/cli/plugins/stack.py index 8801c76..2227236 100644 --- a/wo/cli/plugins/stack.py +++ b/wo/cli/plugins/stack.py @@ -636,8 +636,8 @@ class WOStackController(CementBaseController): " server 127.0.0.1:6379;\n" " keepalive 10;\n}\n") - if os.path.isfile("/etc/nginx/nginx.conf") - and (not os.path.isfile("/etc/nginx/conf.d/redis.conf")): + if (os.path.isfile("/etc/nginx/nginx.conf") + and not os.path.isfile("/etc/nginx/conf.d/redis.conf")): with open("/etc/nginx/conf.d/redis.conf", "a") as redis_file: redis_file.write("# Log format Settings\n"