From 9202ce9a72a85969491ae0a683f895b46560f44a Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Wed, 12 Feb 2025 18:41:34 +0200 Subject: [PATCH] More housekeeping --- docs/install.sh | 5 +++-- docs/update1015.sh | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/install.sh b/docs/install.sh index 90721a5..658bae8 100644 --- a/docs/install.sh +++ b/docs/install.sh @@ -470,8 +470,9 @@ EOF systemctl enable msg_worker echo "Enabling Redis." - systemctl enable redis - systemctl start redis + systemctl daemon-reload + systemctl enable redis-server + systemctl start redis-server echo "Configuring control panel admin." sed -i "s|\$email = 'admin@example.com';|\$email = '$PANEL_EMAIL';|g" /var/www/cp/bin/create_admin_user.php diff --git a/docs/update1015.sh b/docs/update1015.sh index 8e72df1..4790713 100644 --- a/docs/update1015.sh +++ b/docs/update1015.sh @@ -60,6 +60,8 @@ systemctl stop das systemctl stop msg_producer systemctl stop msg_worker +systemctl daemon-reload + # Clear cache echo "Clearing cache..." php /var/www/cp/bin/clear_cache.php @@ -162,8 +164,8 @@ systemctl start caddy systemctl start msg_producer systemctl start msg_worker -systemctl enable redis -systemctl start redis +systemctl enable redis-server +systemctl start redis-server # Check if services started successfully if [[ $? -eq 0 ]]; then