sed and config fix for MySQL socket, accept CLA for @dsbaars
This commit is contained in:
		
							parent
							
								
									bc729dc6f4
								
							
						
					
					
						commit
						320ce82885
					
				@ -15,7 +15,7 @@ export class DB {
 | 
			
		||||
      timezone: '+00:00',
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (config.DATABASE.SOCKET)
 | 
			
		||||
    if (config.DATABASE.SOCKET && config.DATABASE.SOCKET != "")
 | 
			
		||||
      poolConfig.socketPath = config.DATABASE.SOCKET
 | 
			
		||||
    else    
 | 
			
		||||
      poolConfig.host = config.DATABASE.HOST
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										3
									
								
								contributors/dsbaars.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								contributors/dsbaars.txt
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,3 @@
 | 
			
		||||
I hereby accept the terms of the Contributor License Agreement in the CONTRIBUTING.md file of the mempool/mempool git repository as of January 25, 2022.
 | 
			
		||||
 | 
			
		||||
Signed: dsbaars
 | 
			
		||||
@ -112,7 +112,7 @@ sed -i "s/__SECOND_CORE_RPC_PASSWORD__/${__SECOND_CORE_RPC_PASSWORD__}/g" mempoo
 | 
			
		||||
 | 
			
		||||
sed -i "s/__DATABASE_ENABLED__/${__DATABASE_ENABLED__}/g" mempool-config.json
 | 
			
		||||
sed -i "s/__DATABASE_HOST__/${__DATABASE_HOST__}/g" mempool-config.json
 | 
			
		||||
sed -i "s/__DATABASE_SOCKET__/${__DATABASE_SOCKET__}/g" mempool-config.json
 | 
			
		||||
sed -i "s!__DATABASE_SOCKET__!${__DATABASE_SOCKET__}!g" mempool-config.json
 | 
			
		||||
 | 
			
		||||
sed -i "s/__DATABASE_PORT__/${__DATABASE_PORT__}/g" mempool-config.json
 | 
			
		||||
sed -i "s/__DATABASE_DATABASE__/${__DATABASE_DATABASE__}/g" mempool-config.json
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user