ejabberd: Fix ejabberdctl path in ejabberd-backup
This commit is contained in:
parent
f1b717c419
commit
aee7d46e70
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ tempfile=/var/lib/ejabberd/$$.bu
|
||||||
|
|
||||||
node=$(hostname | cut -d. -f1)
|
node=$(hostname | cut -d. -f1)
|
||||||
|
|
||||||
/usr/bin/ejabberdctl backup $tempfile
|
/usr/sbin/ejabberdctl backup $tempfile
|
||||||
cat $tempfile | gzip > ${backupfile}
|
cat $tempfile | gzip > ${backupfile}
|
||||||
chmod 600 ${backupfile}
|
chmod 600 ${backupfile}
|
||||||
rm $tempfile
|
rm $tempfile
|
||||||
|
|
Loading…
Add table
Reference in a new issue