unit config
This commit is contained in:
		
							parent
							
								
									b852a340ca
								
							
						
					
					
						commit
						72d10c5d73
					
				
					 2 changed files with 6 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -16,10 +16,11 @@
 | 
			
		|||
        "racist_application": {
 | 
			
		||||
            "type": "python",
 | 
			
		||||
            "processes": 10,
 | 
			
		||||
            "working_directory": "/www/store/cart/",
 | 
			
		||||
            "path": "/www/store/",
 | 
			
		||||
            "home": ".virtualenv/",
 | 
			
		||||
            "module": "cart.run"
 | 
			
		||||
            "working_directory": "/root/stm32-fmt-code/access_control_python_server",
 | 
			
		||||
            "home": "/root/stm32-fmt-code/access_control_python_server",
 | 
			
		||||
            "path": "/root/stm32-fmt-code/access_control_python_server",
 | 
			
		||||
            "module": "app",
 | 
			
		||||
            "callable": "app"
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1
									
								
								access_control_python_server/unit_config.sh
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								access_control_python_server/unit_config.sh
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
curl -X PUT --data-binary @./unit.json --unix-socket /var/run/control-unit.sock http://localhost/config
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue