From 19a0501c35ef2b93cd0bd2f440bc1c26c0e8967a Mon Sep 17 00:00:00 2001 From: Gabriele Santomaggio Date: Tue, 29 Dec 2015 15:31:13 +0100 Subject: update readme --- README.md | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index f3e6e1e..4ede017 100644 --- a/README.md +++ b/README.md @@ -6,17 +6,26 @@ I tested it starting for zero-dependencies RabbitMQ package ([github](https://gi Build from source - +To build it execute the docker image. + +Download the binary +- +https://github.com/Gsantomaggio/erlang-sd_notify/releases/tag/0.9 -* To build it execute the docker image. -* To add it to your package: - - `extract the tar.gz` - `mkdir -p /usr/lib64/erlang/lib/sd_notify-0.9/priv/` - `mkdir -p /usr/lib64/erlang/lib/sd_notify-0.9/ebin/` - `cp priv/* /usr/lib64/erlang/lib/sd_notify-0.9/priv/` - `cp ebin/* /usr/lib64/erlang/lib/sd_notify-0.9/ebin/` - +Add to Erlang +- +I suppose you are using the [RabbitMQ Erlang installation].(https://www.rabbitmq.com/releases/erlang/) +Follow these steps: + + extract the tar.gz + mkdir -p /usr/lib64/erlang/lib/sd_notify-0.9/priv/ + mkdir -p /usr/lib64/erlang/lib/sd_notify-0.9/ebin/ + cp priv/* /usr/lib64/erlang/lib/sd_notify-0.9/priv/ + cp ebin/* /usr/lib64/erlang/lib/sd_notify-0.9/ebin/ + +Test +- To test it use: `sd_notify:sd_notify(0,"READY=1")`, in this way: [root@a499ee66251a]# erl @@ -24,10 +33,8 @@ To test it use: `sd_notify:sd_notify(0,"READY=1")`, in this way: 1> sd_notify:sd_notify(0,"READY=1"). ok -Download the binary -- -https://github.com/Gsantomaggio/erlang-sd_notify/releases/tag/0.9 - RabbitMQ notes: - -RabbitMQ does not need `sd_notify`, this add this feature for the users that in general need `sd_notify`. The integration should be considerer as **experimental** +RabbitMQ does not need `sd_notify`,. +This add the feature for the users that in general need `sd_notify`. +The integration should be considerer as **experimental** -- cgit v1.2.1