You are not logged in.
Hello,
I've been following this tutorial about setting up an ejabberd server:
https://www.youtube.com/watch?v=nujlwxnYtBg
I've hit a stumbling block, because after installing ejabberd from pacman... I have no idea where ejaberd.cfg is located
.
Also, after poking around /usr/bin, I found a file called ejabberdctl. Is this to make ejabberd into a service? If so, how do I do that?
Last edited by publicus (2014-02-16 18:38:53)
Offline
I only see /etc/ejabberd/ejabberdctl.cfg.
$ sudo ejabberdctl
Failed RPC connection to the node ejabberd@localhost: nodedown
Commands to start an ejabberd node:
start Start an ejabberd node in server mode
debug Attach an interactive Erlang shell to a running ejabberd node
live Start an ejabberd node in live (interactive) mode
Optional parameters when starting an ejabberd node:
--config-dir dir Config ejabberd: /etc/ejabberd
--config file Config ejabberd: /etc/ejabberd/ejabberd.yml
--ctl-config file Config ejabberdctl: /etc/ejabberd/ejabberdctl.cfg
--logs dir Directory for logs: /var/log/ejabberd
--spool dir Database spool dir: /var/lib/ejabberd
--node nodename ejabberd node name: ejabberd@localhostOffline
I only see /etc/ejabberd/ejabberdctl.cfg.
$ sudo ejabberdctl Failed RPC connection to the node ejabberd@localhost: nodedown Commands to start an ejabberd node: start Start an ejabberd node in server mode debug Attach an interactive Erlang shell to a running ejabberd node live Start an ejabberd node in live (interactive) mode Optional parameters when starting an ejabberd node: --config-dir dir Config ejabberd: /etc/ejabberd --config file Config ejabberd: /etc/ejabberd/ejabberd.yml --ctl-config file Config ejabberdctl: /etc/ejabberd/ejabberdctl.cfg --logs dir Directory for logs: /var/log/ejabberd --spool dir Database spool dir: /var/lib/ejabberd --node nodename ejabberd node name: ejabberd@localhost
Thanks.
Also, I just found out that ejabberdctl is where I start ejabberd and get status from.
Offline
I just found out that ejabberdctl is where I start ejabberd and get status from.
This is how you manage daemons under systemd, that's how the systemd utilities like localectl work too.
https://projects.archlinux.org/svntogit … b58b41899d
Offline