Remove unnecessary ejabberdctl call.

This commit is contained in:
James Valleroy authored and Sunil Mohan Adapa committed 2015-01-03 14:43:50 +05:30
1 parent 8c96519e34
commit b8a7007552
1 file changed
-1
-1
View File
@@ -137,7 +137,6 @@ def subcommand_change_hostname(arguments):
in_hosts_section = True
conffile.write(line)
subprocess.call(['ejabberdctl', 'stop'])
subprocess.call(['service', 'ejabberd', 'stop'])
subprocess.call(['pkill', '-u', 'ejabberd'])