Move backend restart command from upgrade command into its own command
This commit is contained in:
		
							parent
							
								
									addd49ee2b
								
							
						
					
					
						commit
						1a40e601a8
					
				
							
								
								
									
										5
									
								
								production/mempool-restart-all
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								production/mempool-restart-all
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
			
		||||
#!/usr/bin/env zsh
 | 
			
		||||
 | 
			
		||||
ps uaxw|grep 'dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
 | 
			
		||||
 | 
			
		||||
exit 0
 | 
			
		||||
@ -36,8 +36,6 @@ do
 | 
			
		||||
    npm run build
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
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