nginx unit and auto reload...? #473
              
                Unanswered
              
          
                  
                    
                      ziggekatten
                    
                  
                
                  asked this question in
                Getting Help
              
            Replies: 4 comments
-
| Bumping this as I have not found an solution other than completely revert from Unit to Gunicorn | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| bumping too... | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| You can restart an application inside of Unit. See their documentation. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| user@srv01 ~ % docker-compose exec netbox curl -X GET --unix-socket /opt/unit/unit.sock http://localhost/control/applications/netbox/restart
{
	"success": "Ok"
} | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
The new way of using Unit have some benefits, especilly stability when doing lot of API calls (now at 100%)
However, I struggle to figure out how to make unit auto reload, as I develop alot of various reports and scripts, and this was a simple parameter in the gunicorn days.
How have you solved this?
Beta Was this translation helpful? Give feedback.
All reactions