On 13/10/14 16:29, sergio wrote: > On 10/13/2014 02:20 PM, Philipp Huebner wrote: > >>> What upstream are you talking about? ejabberd source doesn't >>> provide init-script. Anyway this isn't a reason to decline my >>> request. >> >> Yes it does, have a closer look :) > > Could you say, where can I find it?
https://github.com/processone/ejabberd/blob/14.07/ejabberd.init.template This template gets patched, then populated at build time and finally installed into the Debian package. >> Can you confirm that the reload config function works with ejabberd >> 14.07? > > Yes and no. reload function is just a load_config functions which is > provided by mod_admin_extra. In the wheezy it was a part of ejabberd > package, but in 14.07 it's moved to ejabberd-contrib. So to make > reload action work you need install ejabberd-contrib and enable it in > /etc/ejabberd/ejabberd.yml > > But I can insert a check and make clear warning in case of error: > > # /etc/init.d/ejabberd reload > Warning: reload action is not avaliable! > You need to install ejabberd-contrib package, add 'mod_admin_extra: > {}' to the modules section in /etc/ejabberd/ejabberd.yml and restart > the server. Sound's good to me! Regards, -- .''`. Philipp Huebner <debala...@debian.org> : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F `. `'` `-
signature.asc
Description: OpenPGP digital signature