mirror of
				https://github.com/pelican-eggs/eggs.git
				synced 2025-10-31 17:08:06 +00:00 
			
		
		
		
	Cleaned up startup
This commit is contained in:
		
							parent
							
								
									ee4c054d27
								
							
						
					
					
						commit
						b42ff750d2
					
				| @ -20,14 +20,10 @@ fi | |||||||
| if [ -f "keys/oldsecret.txt" ]; then | if [ -f "keys/oldsecret.txt" ]; then | ||||||
| echo "Old secret file detected..." | echo "Old secret file detected..." | ||||||
| export MINIO_SECRET_KEY_OLD=`cat keys/oldsecret.txt` | export MINIO_SECRET_KEY_OLD=`cat keys/oldsecret.txt` | ||||||
| else |  | ||||||
| echo ".." |  | ||||||
| fi | fi | ||||||
| if [ -f "keys/oldkey.txt" ]; then | if [ -f "keys/oldkey.txt" ]; then | ||||||
| echo "Old key file detected..." | echo "Old key file detected..." | ||||||
| export MINIO_ACCESS_KEY_OLD=`cat keys/oldkey.txt` | export MINIO_ACCESS_KEY_OLD=`cat keys/oldkey.txt` | ||||||
| else |  | ||||||
| echo "......" |  | ||||||
| fi | fi | ||||||
| if [ -f "keys/justrotated.txt" ]; then | if [ -f "keys/justrotated.txt" ]; then | ||||||
| echo "Previous key rotation detected...." | echo "Previous key rotation detected...." | ||||||
| @ -38,8 +34,6 @@ STARTUP_TYPE=normal | |||||||
| rm keys/justrotated.txt | rm keys/justrotated.txt | ||||||
| rm keys/oldsecret.txt | rm keys/oldsecret.txt | ||||||
| rm keys/oldkey.txt | rm keys/oldkey.txt | ||||||
| else |  | ||||||
| echo "......" |  | ||||||
| fi | fi | ||||||
| ########################################## | ########################################## | ||||||
| if [ -z "$STARTUP_TYPE" ] || [ "$STARTUP_TYPE" == "rotate" ]; then | if [ -z "$STARTUP_TYPE" ] || [ "$STARTUP_TYPE" == "rotate" ]; then | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user