Merge branch 'bugfix/ejabberd_restart_config_vhost_change' of kosmos/chef into master
This commit is contained in:
commit
7fa11089b1
@ -138,7 +138,13 @@ hosts.each do |host|
|
|||||||
ldap_server: ldap_domain,
|
ldap_server: ldap_domain,
|
||||||
ldap_rootdn: ldap_rootdn,
|
ldap_rootdn: ldap_rootdn,
|
||||||
ldap_encryption_type: ldap_encryption_type
|
ldap_encryption_type: ldap_encryption_type
|
||||||
notifies :run, "execute[ejabberdctl reload_config]", :delayed
|
# Restarting the service is needed because the LDAP options are only parsed
|
||||||
|
# on start (https://github.com/processone/ejabberd/issues/3181#issuecomment-594482546)
|
||||||
|
# This can be changed back to reloading when this is part of a release:
|
||||||
|
# https://github.com/processone/ejabberd/commit/b39a1e2d74cd4d400a7f062e31056057573298e8
|
||||||
|
#
|
||||||
|
# notifies :run, "execute[ejabberdctl reload_config]", :delayed
|
||||||
|
notifies :restart, "service[ejabberd]", :delayed
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user