Store ejabberd backup in non-world-readable location.

This commit is contained in:
James Valleroy authored and Sunil Mohan Adapa committed 2015-01-03 14:43:50 +05:30
1 parent 298938de73
commit 48b6ff3728
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ import os
JWCHAT_CONFIG = '/etc/jwchat/config.js'
EJABBERD_CONFIG = '/etc/ejabberd/ejabberd.yml'
EJABBERD_BACKUP = '/tmp/ejabberd.dump'
EJABBERD_BACKUP = '/var/log/ejabberd/ejabberd.dump'
def parse_arguments():
+1 -1
View File
@@ -18,7 +18,7 @@
# Action to backup ejabberd database before changing hostname.
BACKUP=/tmp/ejabberd.dump
BACKUP=/var/log/ejabberd/ejabberd.dump
ejabberdctl dump $BACKUP
ejabberdctl stop