[erlang-questions] how to start and stop erlang daemon

Roger Lipscombe roger@REDACTED
Fri May 18 09:28:20 CEST 2018


On 18 May 2018 at 07:15, Max Lapshin <max.lapshin@REDACTED> wrote:
> How can you signal to system administrator that config is invalid?

We do a mixture of the following:

- Erlang node refuses to start; upstart (or systemd) or monit send an
error email and attempt to restart it.
- Erlang node reports an error; lager backend turns that into an error email.
- Erlang node fails to do whatever it's supposed to do; external check
notices (nagios can't connect to port, end-to-end smoke test fails,
e.g.), notifies administrator.

System administrator sees the spike in the error emails, takes a look,
fixes the problem.



More information about the erlang-questions mailing list