Skip to content

Commit 31f4389

Browse files
committed
Update readme: ejabberd configuration is now in YAML format
1 parent 61a61ef commit 31f4389

3 files changed

Lines changed: 28 additions & 12 deletions

File tree

README.en

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,14 @@ In 'listen' section one should add:
2424

2525
-------------------------------------------------------------------------------
2626

27-
% External Logger
28-
{8887, ejabberd_service, [{ip, {127, 0, 0, 1}},
29-
{access, all},
30-
{hosts, ["alice.somehost.somedomain"], [{password, "0123456789abcdef"}]}]}
27+
### External Logger
28+
-
29+
port: 8887
30+
ip: "127.0.0.1"
31+
access: all
32+
module: ejabberd_service
33+
hosts:
34+
"alice.somehost.somedomain":
35+
password: "0123456789abcdef"
3136

3237
-------------------------------------------------------------------------------

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,15 @@ Script requires this Perl-modules:
2020
In `listen` section one should add:
2121

2222
```
23-
% External Logger
24-
{8887, ejabberd_service, [{ip, {127, 0, 0, 1}},
25-
{access, all},
26-
{hosts, ["alice.somehost.somedomain"], [{password, "0123456789abcdef"}]}]}
23+
### External Logger
24+
-
25+
port: 8887
26+
ip: "127.0.0.1"
27+
access: all
28+
module: ejabberd_service
29+
hosts:
30+
"alice.somehost.somedomain":
31+
password: "0123456789abcdef"
32+
2733
```
2834

README.ru

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,14 @@ Alice
2424

2525
-------------------------------------------------------------------------------
2626

27-
% External Logger
28-
{8887, ejabberd_service, [{ip, {127, 0, 0, 1}},
29-
{access, all},
30-
{hosts, ["alice.somehost.somedomain"], [{password, "0123456789abcdef"}]}]}
27+
### External Logger
28+
-
29+
port: 8887
30+
ip: "127.0.0.1"
31+
access: all
32+
module: ejabberd_service
33+
hosts:
34+
"alice.somehost.somedomain":
35+
password: "0123456789abcdef"
3136

3237
-------------------------------------------------------------------------------

0 commit comments

Comments
 (0)