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": {
 | 
					        "racist_application": {
 | 
				
			||||||
            "type": "python",
 | 
					            "type": "python",
 | 
				
			||||||
            "processes": 10,
 | 
					            "processes": 10,
 | 
				
			||||||
            "working_directory": "/www/store/cart/",
 | 
					            "working_directory": "/root/stm32-fmt-code/access_control_python_server",
 | 
				
			||||||
            "path": "/www/store/",
 | 
					            "home": "/root/stm32-fmt-code/access_control_python_server",
 | 
				
			||||||
            "home": ".virtualenv/",
 | 
					            "path": "/root/stm32-fmt-code/access_control_python_server",
 | 
				
			||||||
            "module": "cart.run"
 | 
					            "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