Reshuffle definitions
This commit is contained in:
		
							parent
							
								
									740c0ce506
								
							
						
					
					
						commit
						b31e167dc1
					
				@ -2,15 +2,13 @@
 | 
				
			|||||||
sqldb="ejabberd"
 | 
					sqldb="ejabberd"
 | 
				
			||||||
sqlusername="ejabberd"
 | 
					sqlusername="ejabberd"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
pacman -S --noconfirm ejabberd
 | 
					pacman -S --noconfirm ejabberd
 | 
				
			||||||
 | 
					
 | 
				
			||||||
domains=("conference.$domain" "proxy.$domain" "pubsub.$domain" "upload.$domain")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
certdirs=("/etc/letsencrypt/live/$domain" "/etc/letsencrypt/live/${domains[0]}" "/etc/letsencrypt/live/${domains[1]}" "/etc/letsencrypt/live/${domains[2]}" "/etc/letsencrypt/live/${domains[3]}")
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
read -p "Enter your domain: " domain
 | 
					read -p "Enter your domain: " domain
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					domains=("conference.$domain" "proxy.$domain" "pubsub.$domain" "upload.$domain")
 | 
				
			||||||
 | 
					certdirs=("/etc/letsencrypt/live/$domain" "/etc/letsencrypt/live/${domains[0]}" "/etc/letsencrypt/live/${domains[1]}" "/etc/letsencrypt/live/${domains[2]}" "/etc/letsencrypt/live/${domains[3]}")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
index=0
 | 
					index=0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# try to find any existing certificates for the various vhosts required by
 | 
					# try to find any existing certificates for the various vhosts required by
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user