Erlang init.d script in Ubuntu
Problem
You’ve created an init.d script for your Erlang application. When logged in the script works and starts the app, however it’s not working on boot.
Solution
- Make sure /usr/local/bin/ is recognized in the profile
- export HOME in you init.d script that points to the directory with your erlang cookie