fix scrips
This commit is contained in:
		
							parent
							
								
									ae3d5e4df7
								
							
						
					
					
						commit
						06c0526ede
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,7 +1,7 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
set -euf -o pipefail
 | 
			
		||||
 | 
			
		||||
cd "$(dirname "$(realpath "$0")")../"
 | 
			
		||||
cd "$(dirname "$(realpath "$0")")/../"
 | 
			
		||||
 | 
			
		||||
lego \
 | 
			
		||||
--path ./data/.lego \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
#!/usr/bin/env bash
 | 
			
		||||
set -euf -o pipefail
 | 
			
		||||
 | 
			
		||||
cd "$(dirname "$(realpath "$0")")../"
 | 
			
		||||
cd "$(dirname "$(realpath "$0")")/../"
 | 
			
		||||
 | 
			
		||||
docker compose restart nginx
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,7 +28,7 @@ prompt_password() {
 | 
			
		|||
trap 'printf "\nOperation aborted by user.\n" >&2; rm .env; exit 1' SIGINT
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
cd "$(dirname "$(realpath "$0")")../"
 | 
			
		||||
cd "$(dirname "$(realpath "$0")")/../"
 | 
			
		||||
 | 
			
		||||
# Check if .env exists and exit if it is
 | 
			
		||||
[[ -f ./.env ]] && echo ".env already exists. Exiting!" && exit 1 || true
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue