Fix upgrade script not restarting node due to new command line args
This commit is contained in:
		
							parent
							
								
									34a2970ff7
								
							
						
					
					
						commit
						d32657cfd2
					
				
							
								
								
									
										0
									
								
								production/mempool-kill-all
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								production/mempool-kill-all
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@ -29,7 +29,7 @@ do
 | 
			
		||||
    npm run build
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
ps uaxw|grep 'node dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
 | 
			
		||||
ps uaxw|grep 'dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
 | 
			
		||||
 | 
			
		||||
hostname=$(hostname)
 | 
			
		||||
keybase chat send --channel dev mempool "${hostname} updated to ${hash}"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user