Move .local/bin to .bin
This commit is contained in:
		
							parent
							
								
									b8dd204681
								
							
						
					
					
						commit
						76f407954f
					
				
					 16 changed files with 58 additions and 38 deletions
				
			
		
							
								
								
									
										15
									
								
								.bin/wait-for-service
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										15
									
								
								.bin/wait-for-service
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,15 @@
 | 
			
		|||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
user=""
 | 
			
		||||
target="$1"
 | 
			
		||||
 | 
			
		||||
if [ "$1" = "--user" ]; then
 | 
			
		||||
    user="--user"
 | 
			
		||||
    target="$2"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
until systemctl $user is-active --quiet "$target"
 | 
			
		||||
do
 | 
			
		||||
    sleep 0.5
 | 
			
		||||
done
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue