Erlang/OTP Forums

Author Message

<  Ejabberd mailing list  ~  web interface supposed to write config?

Guest
Posted: Wed Jul 19, 2006 10:02 am Reply with quote
Guest
Hello

While playing around with the web interface I noticed that modules which
I added there are immediately available to the server but seem not to be
permanently written to the configuration and thus vanish after a server
restart?
Is this supposed to be? /etc/ejabberd.cfg is writable for the ejabberd
user.

bye,

-christian-


--
Christian Hammers WESTEND GmbH | Internet-Business-Provider
Technik CISCO Systems Partner - Authorized Reseller
L
Guest
Posted: Sat Jul 22, 2006 4:18 pm Reply with quote
Guest
2006/7/19, Christian Hammers <ch@westend.com>:
> While playing around with the web interface I noticed that modules which
> I added there are immediately available to the server but seem not to be
> permanently written to the configuration and thus vanish after a server
> restart?
> Is this supposed to be? /etc/ejabberd.cfg is writable for the ejabberd
> user.

Yes, that's the way it works: changes done on the configuration using
the web interface, online Discovery... are not permanently stored on
ejabberd.cfg

There is at least one exception: ACL rules, since they are permanently
stored on the database. Maybe Access rules are, too.

This may be an inconvenience or an advantage: You can make any changes
you want on the online configuration. If they seem correct, you can
modify ejabberd.cfg. You are always sure that nobody else except you
can modify ejabberd.cfg.


--
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist
Guest
Posted: Sat Jul 22, 2006 5:13 pm Reply with quote
Guest
On 7/19/06, Christian Hammers <ch@westend.com> wrote:
> Hello
>
> While playing around with the web interface I noticed that modules which
> I added there are immediately available to the server but seem not to be
> permanently written to the configuration and thus vanish after a server
> restart?
> Is this supposed to be? /etc/ejabberd.cfg is writable for the ejabberd
> user.

Yes, ejabberd web-interface does not write config file. In fact,
config is used only to populate internal ejabberd config database.
After that you may clean the config and changes you make via
web-interface will not be overridden. You can't delete config though
(ejabberd won't run then).

--
Sergei Golovan
_______________________________________________
ejabberd mailing list
ejabberd@jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum