[erlang-questions] erlsrv shutdown on server restart

Emile Joubert <>
Tue Nov 15 12:41:49 CET 2011


Hi,

Services managed by erlsrv don't seem to get the opportunity to shutdown
gracefully when the OS shuts down. From looking at erlsrv_service.c,
SERVICE_CONTROL_PRESHUTDOWN is not registered, and nothing happens on
receipt of SERVICE_CONTROL_SHUTDOWN.

Is there any way to ensure a graceful shutdown of services managed by
erlsrv when the server shuts down or restarts?


Thanks

Emile



More information about the erlang-questions mailing list