Backup the prosody dirs
This commit is contained in:
		
							parent
							
								
									6d232a320f
								
							
						
					
					
						commit
						2fa7a2cf1f
					
				| @ -4,7 +4,8 @@ maintainer_email 'mail@kosmos.org' | |||||||
| license          'All rights reserved' | license          'All rights reserved' | ||||||
| description      'Installs/Configures 5apps-xmpp_server' | description      'Installs/Configures 5apps-xmpp_server' | ||||||
| long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||||||
| version          '0.1.0' | version          '0.2.0' | ||||||
| 
 | 
 | ||||||
| depends 'firewall' | depends 'firewall' | ||||||
| depends 'apt' | depends 'apt' | ||||||
|  | depends 'backup' | ||||||
|  | |||||||
| @ -22,4 +22,6 @@ end | |||||||
| 
 | 
 | ||||||
| package "prosody" | package "prosody" | ||||||
| 
 | 
 | ||||||
| # TODO: Generate the config files | # backup the data dir and the config files | ||||||
|  | node.override["backup"]["archives"]["prosody"] = ["/var/lib/prosody", "/etc/prosody"] | ||||||
|  | include_recipe "backup" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user