mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-17 11:10:23 +00:00
Use correct node names for ejabberd.
This commit is contained in:
parent
126d466dc7
commit
8c96519e34
@ -88,7 +88,8 @@ def subcommand_pre_change_hostname(arguments):
|
||||
subprocess.call(['ejabberdctl', 'backup', EJABBERD_BACKUP])
|
||||
try:
|
||||
subprocess.check_output(['ejabberdctl', 'mnesia-change-nodename',
|
||||
old_hostname, new_hostname,
|
||||
'ejabberd@' + old_hostname,
|
||||
'ejabberd@' + new_hostname,
|
||||
EJABBERD_BACKUP, EJABBERD_BACKUP_NEW])
|
||||
os.remove(EJABBERD_BACKUP)
|
||||
except subprocess.CalledProcessError as err:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user