Skip to content

Commit

Permalink
More housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
getpinga committed Feb 12, 2025
1 parent de261bd commit 9202ce9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions docs/update1015.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9202ce9

Please sign in to comment.