Fix for redis and variable glob
This commit is contained in:
@@ -574,7 +574,7 @@ def post_pref(self, apt_packages, packages):
|
||||
# create nginx configuration for redis
|
||||
if set(WOVariables.wo_redis).issubset(set(apt_packages)):
|
||||
if os.path.isdir('/etc/nginx/common'):
|
||||
data = dict()
|
||||
data = dict(upstream="php72")
|
||||
Log.debug(self, 'Writting the nginx configuration to '
|
||||
'file /etc/nginx/common/redis-php72.conf')
|
||||
wo_nginx = open('/etc/nginx/common/redis-php72.conf',
|
||||
|
||||
@@ -4,6 +4,7 @@ from wo.core.fileutils import WOFileUtils
|
||||
from wo.cli.plugins.sitedb import *
|
||||
from wo.core.mysql import *
|
||||
from wo.core.logging import Log
|
||||
import glob
|
||||
|
||||
|
||||
def wo_sync_hook(app):
|
||||
|
||||
Reference in New Issue
Block a user