<br>I have written a linked-in driver - that appears to work. Let's assume it<br>is started with myLinkedInDriver:start() and stopped with myLinkedInDriver:stop()<br><br>I want to do the following.<br><br>    - automatically start the linked-in driver when I start Erlang
<br>    - automatically stop the linked in driver when I stop Erlang<br><br>I want to stop the linked in driver in a controlled manner. ie I want *something* to call<br>myLinkedInDriver:stop() and allow me to close the thing down in an orderly manner.
<br><br>If my linked in driver is not correctly closed down then I'll have to do a whole lot of work<br>the next time start the system.<br><br>What the minimal amount of junk I have to use to get this behaviour?<br><br>
I think I need a minimum of an OTP application + a boot script + some command<br>line arguments to erl to disable control C handling etc.<br><br>Does anybody know how do do this?<br><br>/Joe<br><br><br><br><br>