From e2cb6a466b6b4842d894041d1f189e3648f6648f Mon Sep 17 00:00:00 2001 From: lgromero Date: Wed, 13 Nov 2024 18:07:54 +0100 Subject: [PATCH] refs #1134 Use unique ogboot php fpm --- installer/ogboot_installer.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/ogboot_installer.py b/installer/ogboot_installer.py index c926043..d480d5c 100755 --- a/installer/ogboot_installer.py +++ b/installer/ogboot_installer.py @@ -710,8 +710,8 @@ def get_php_fpm_version(): def modify_php_fpm_config(): php_version = get_php_fpm_version() php_fpm_conf_path = f"/etc/php/{php_version}/fpm/pool.d/www.conf" - new_fpm_conf_path = f"/etc/php/{php_version}/fpm/pool.d/opengnsys.conf" - socket_path = f"/run/php/php{php_version}-fpm-opengnsys.sock" + new_fpm_conf_path = f"/etc/php/{php_version}/fpm/pool.d/ogboot.conf" + socket_path = f"/run/php/php{php_version}-fpm-ogboot.sock" if os.path.exists(new_fpm_conf_path): logger.info(f"Archivo {new_fpm_conf_path} ya existe. No se realizarán modificaciones.") @@ -730,7 +730,7 @@ def modify_php_fpm_config(): with open(new_fpm_conf_path, 'w') as file: for line in config_lines: if line.startswith('[www]'): - file.write('[opengnsys]\n') # Cambiar el nombre del pool + file.write('[ogboot]\n') # Cambiar el nombre del pool elif line.startswith('user ='): file.write('user = opengnsys\n') elif line.startswith('group ='):