summaryrefslogtreecommitdiff
path: root/README.md
blob: f45f8dc0ba1cb27117be6406f3ff1025abafa04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
`sd_notify` Erlang interface for Centos 7.
---

This add the `sd_notify` to the Centos erlang package.
I tested it starting for zero-dependencies RabbitMQ package ([github](https://github.com/rabbitmq/erlang-rpm) - [binany](https://www.rabbitmq.com/releases/erlang/) )

Build from source
-
To build it execute the docker image.
To add it to your package:

    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.1/ebin/

 
To test it use: `sd_notify:sd_notify(0,"READY=1")`, in this way:

    [root@a499ee66251a]# erl
    ...    
    1> sd_notify:sd_notify(0,"READY=1").
    ok

Download the binary
-
WIP

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**