summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriele Santomaggio <gabriele.santomaggio@erlang-solutions.com>2015-12-29 15:31:13 +0100
committerGabriele Santomaggio <gabriele.santomaggio@erlang-solutions.com>2015-12-29 15:31:13 +0100
commit19a0501c35ef2b93cd0bd2f440bc1c26c0e8967a (patch)
tree66e3e5eb7c45863047d1242cb3df55afd276c864
parent84df51fd234905de7b5c5ed826f994ad59904c47 (diff)
downloaderlang-sd_notify-19a0501c35ef2b93cd0bd2f440bc1c26c0e8967a.tar.gz
update readme
-rw-r--r--README.md35
1 files 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**