<div dir="ltr">Hi.<div><br></div><div><br></div><div>I've written a bit unstructured thoughts about seamless start and stop of erlang daemon:</div><div><br></div><div><a href="https://medium.com/@max.lapshin/how-to-start-and-stop-erlang-daemon-3fd988777ab3">https://medium.com/@max.lapshin/how-to-start-and-stop-erlang-daemon-3fd988777ab3</a><br></div><div><br></div><div>In short:</div><div><br></div><div>1) validate config before launching</div><div>2) control that daemon has started</div><div>3) find a way to notify why it hasn't started</div><div>4) use several ways to stop it and to ensure that it has stopped</div><div><br></div><div><br></div></div>