WIP: Set up ejabberd for kosmos.org #9

Closed
greg wants to merge 24 commits from feature/7-ejabberd into master
Showing only changes of commit fc644333ff - Show all commits

View File

@ -59,6 +59,12 @@ template "/opt/ejabberd/conf/ejabberd.yml" do
mode 0640
sensitive true
variables pgsql_password: "super_secret"
notifies :run, "execute[ejabberdctl reload_config]", :delayed
end
execute "ejabberdctl reload_config" do
command "/opt/ejabberd-18.12.1/bin/ejabberdctl reload_config"

The version shouldn't be hardcoded in a cookbook. But also, I don't think the entire program should live in a version-number directory.

The version shouldn't be hardcoded in a cookbook. But also, I don't think the entire program should live in a version-number directory.
action :nothing
end
file "/etc/init.d/ejabberd" do