4.1.59 stop_system(Reason)

-spec stop_system(term()) -> ok | {error, _}.

This function can be called before the Erlang node shuts down.

It gracefully lowers the run level to stopped, without blocking the application controller.

This is helpful if changing the run level involves stopping or starting OTP applications.

JavaScript license information