Skip to content

Commit 58704ce

Browse files
Use systemctl restart instead of reload in deploy script
Reload (HUP) only respawns workers under the same master, so config changes like worker_class are not picked up. Restart ensures the master process is also restarted. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent f100b6d commit 58704ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ GITVERS=$(git rev-parse HEAD) # Get git commit ID
9898
GITVERS=${GITVERS:0:7} # Truncate it
9999
sed -i "s/\[Git-útgáfa\]/${GITVERS}/g" "${ABOUT_TPL}"
100100

101-
echo "Reloading gunicorn server..."
102-
sudo systemctl reload $SERVICE
101+
echo "Restarting gunicorn server..."
102+
sudo systemctl restart $SERVICE
103103

104104
if [[ "$MODE" = "PRODUCTION" ]]; then
105105
echo "Updating similarity server dependencies..."

0 commit comments

Comments
 (0)