diff --git a/README.md b/README.md index f7d0980..fd9d101 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ - Ubuntu 16.04 LTS (Xenial) - Ubuntu 19.04 (Disco) - Debian 9 (Stretch) -- Debian 10 (Buster) - Not ready for production +- Debian 10 (Buster) - Raspbian 9 (Stretch) - Raspbian 10 (Buster) - Testing diff --git a/install b/install index 2dd3a85..512615f 100755 --- a/install +++ b/install @@ -9,7 +9,7 @@ # ------------------------------------------------------------------------- # wget -qO wo wops.cc && sudo bash wo # ------------------------------------------------------------------------- -# Version 3.10.0 - 2019-10-28 +# Version 3.10.0 - 2019-10-30 # ------------------------------------------------------------------------- # CONTENTS diff --git a/wo/cli/plugins/info.py b/wo/cli/plugins/info.py index da52efc..0959324 100644 --- a/wo/cli/plugins/info.py +++ b/wo/cli/plugins/info.py @@ -79,22 +79,22 @@ class WOInfoController(CementBaseController): max_execution_time = config['PHP']['max_execution_time'] config.read('/etc/{0}/fpm/pool.d/www.conf'.format("php/7.2")) - wo_sec = (config.sections())[0] - www_listen = config[[wo_sec]]['listen'] - www_ping_path = config[[wo_sec]]['ping.path'] - www_pm_status_path = config[[wo_sec]]['pm.status_path'] - www_pm = config[[wo_sec]]['pm'] - www_pm_max_requests = config[[wo_sec]]['pm.max_requests'] - www_pm_max_children = config[[wo_sec]]['pm.max_children'] - www_pm_start_servers = config[[wo_sec]]['pm.start_servers'] - www_pm_min_spare_servers = config[[wo_sec]]['pm.min_spare_servers'] - www_pm_max_spare_servers = config[[wo_sec]]['pm.max_spare_servers'] - www_request_terminate_time = (config[[wo_sec]] + wo_sec = (config.sections()[0]) + www_listen = config[wo_sec]['listen'] + www_ping_path = config[wo_sec]['ping.path'] + www_pm_status_path = config[wo_sec]['pm.status_path'] + www_pm = config[wo_sec]['pm'] + www_pm_max_requests = config[wo_sec]['pm.max_requests'] + www_pm_max_children = config[wo_sec]['pm.max_children'] + www_pm_start_servers = config[wo_sec]['pm.start_servers'] + www_pm_min_spare_servers = config[wo_sec]['pm.min_spare_servers'] + www_pm_max_spare_servers = config[wo_sec]['pm.max_spare_servers'] + www_request_terminate_time = (config[wo_sec] ['request_terminate_timeout']) try: www_xdebug = ( - config[[wo_sec]]['php_admin_flag[xdebug.profiler_enable' - '_trigger]']) + config[wo_sec]['php_admin_flag[xdebug.profiler_enable' + '_trigger]']) except Exception as e: Log.debug(self, "{0}".format(e)) www_xdebug = 'off' @@ -158,7 +158,7 @@ class WOInfoController(CementBaseController): max_execution_time = config['PHP']['max_execution_time'] config.read('/etc/php/7.3/fpm/pool.d/www.conf') - wo_sec = (config.sections())[0] + wo_sec = (config.sections()[0]) www_listen = config[wo_sec]['listen'] www_ping_path = config[wo_sec]['ping.path'] www_pm_status_path = config[wo_sec]['pm.status_path']