Redis is now fully enabled; housekeeping

This commit is contained in:
Pinga 2025-02-12 18:09:38 +02:00
parent fb2ef70b71
commit 715ba7819d
5 changed files with 93 additions and 114 deletions

View file

@ -469,6 +469,10 @@ EOF
systemctl enable msg_producer
systemctl enable msg_worker
echo "Enabling Redis."
systemctl enable redis
systemctl start redis
echo "Configuring control panel admin."
sed -i "s|\$email = 'admin@example.com';|\$email = '$PANEL_EMAIL';|g" /var/www/cp/bin/create_admin_user.php
sed -i "s|\$newPW = 'admin_password';|\$newPW = '$PANEL_PASSWORD';|g" /var/www/cp/bin/create_admin_user.php