Skip to content

Commit 0127679

Browse files
committed
fix service name that was hard coded
1 parent 924e6f5 commit 0127679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/deploy-with-migrations.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fi
7070
7171
# Restart the service after all operations are complete
7272
echo -e "${YELLOW}Restarting service...${NC}"
73-
ssh $SSH_OPTS $REMOTE_USER@$REMOTE_HOST "sudo systemctl restart coldfollow-web.service"
73+
ssh $SSH_OPTS $REMOTE_USER@$REMOTE_HOST "sudo systemctl restart ${SERVICE_NAME}"
7474
7575
echo -e "${GREEN}Service restarted successfully!${NC}"
7676
echo -e "${GREEN}Deployment with migrations completed successfully!${NC}"

0 commit comments

Comments
 (0)