From 7e37245f75bfd4cd1a31dee81e7058f28e2d11d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristhian=20Mart=C3=ADnez=20Ochoa?= Date: Sun, 23 Jun 2024 10:37:27 -0700 Subject: [PATCH] small fixes Prevent some warnings in server reset. Typo in conf file. --- lib/install | 1 + templates/general/conf | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/install b/lib/install index cd88c59..b887961 100644 --- a/lib/install +++ b/lib/install @@ -839,6 +839,7 @@ mysql_tool_pma() { set_timezone() { if [[ -n $(conf_read timezone) ]] && grep -Fxq $(conf_read timezone) /opt/webinoly/lib/timezone.dat; then + sudo systemctl daemon-reload # Prevent some warnings, also useful in server-reset! sudo timedatectl set-timezone $(conf_read timezone) if [[ $(conf_read php) == "true" ]]; then sudo sed -i "/date.timezone =/c\date.timezone = $(conf_read timezone)" /etc/php/$(conf_read php-ver)/fpm/php.ini diff --git a/templates/general/conf b/templates/general/conf index be39067..f6d4087 100644 --- a/templates/general/conf +++ b/templates/general/conf @@ -370,9 +370,9 @@ # PHP maximum amount of memory that a script is allowed to allocate # Values: numeric int (MB) -# Default: 192 +# Default: 256 ########################### -#php-max-mem:192 +#php-max-mem:256 # PHP maximum time in seconds a script is allowed to run before it is terminated