[ejabberd] problems with ejabberdctl

Stefan Strigler steve at zeank.in-berlin.de
Thu Apr 12 16:09:07 MSD 2007


Am Donnerstag, den 12.04.2007, 13:55 +0200 schrieb Mako:
> Can i make it run from other position to ?
> Like giving ejabberdctl the path to *.beams, because ejabberdctl is just 
> a short script
> 
> #!/bin/sh
> exec erl -noinput -sname ejabberdctl -s ejabberd_ctl -extra $@
> 
> Can i give i the path a a parameter?

Yes you can by changing it something like that:

exec erl -pa '/usr/lib/erlang/lib/ejabberd/ebin' -noinput -sname
ejabberdctl -s ejabberd_ctl -extra $@

Cheers, Steve



More information about the ejabberd mailing list