| 
				
			 | 
			
			
				@@ -660,7 +660,6 @@ function install_xmpp_main { 
			 | 
		
	
		
			
			| 
				660
			 | 
			
				660
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				661
			 | 
			
				661
			 | 
			
			
				     cp /etc/ssl/certs/xmpp.* /etc/prosody/certs 
			 | 
		
	
		
			
			| 
				662
			 | 
			
				662
			 | 
			
			
				     cp /etc/ssl/private/xmpp.* /etc/prosody/certs 
			 | 
		
	
		
			
			| 
				663
			 | 
			
				
			 | 
			
			
				-    chown -R prosody /etc/prosody 
			 | 
		
	
		
			
			| 
				664
			 | 
			
				663
			 | 
			
			
				     update_default_domain 
			 | 
		
	
		
			
			| 
				665
			 | 
			
				664
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				666
			 | 
			
				665
			 | 
			
			
				     xmpp_create_config 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -668,6 +667,11 @@ function install_xmpp_main { 
			 | 
		
	
		
			
			| 
				668
			 | 
			
				667
			 | 
			
			
				     # TODO comment this out after debian supports prosody 0.10 or later 
			 | 
		
	
		
			
			| 
				669
			 | 
			
				668
			 | 
			
			
				     install_xmpp_nightly 
			 | 
		
	
		
			
			| 
				670
			 | 
			
				669
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				670
			 | 
			
			
				+    chown -R prosody /etc/prosody 
			 | 
		
	
		
			
			| 
				
			 | 
			
				671
			 | 
			
			
				+    chown -R prosody /var/lib/prosody 
			 | 
		
	
		
			
			| 
				
			 | 
			
				672
			 | 
			
			
				+    chown -R prosody /usr/lib/prosody 
			 | 
		
	
		
			
			| 
				
			 | 
			
				673
			 | 
			
			
				+    chmod -R 700 /etc/prosody/conf.d 
			 | 
		
	
		
			
			| 
				
			 | 
			
				674
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				671
			 | 
			
				675
			 | 
			
			
				     systemctl restart prosody 
			 | 
		
	
		
			
			| 
				672
			 | 
			
				676
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				673
			 | 
			
				677
			 | 
			
			
				     prosodyctl register $MY_USERNAME $DEFAULT_DOMAIN_NAME "$XMPP_PASSWORD" 
			 |