Backup the prosody dirs

This commit is contained in:
Greg Karékinian 2016-10-31 15:37:20 +01:00
parent 6d232a320f
commit 2fa7a2cf1f
2 changed files with 5 additions and 2 deletions

View File

@ -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'

View File

@ -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"