title: How to Run Phoenix in Production Forever
body: <p>I'm trying to run my Phoenix app in production forever, i.e., independently of my terminal process. I saw in Phoenix guides and in a Stackoverflow question that I can use <code>elixir --detached</code>, but I'm not being able of using those commands properly. In fact I was able, once, of starting it like that but I tried so many commands that I don'e even know which one make it (also because there's no message to make it clear).
  So, using the latest version of Phoenix (1.1) and Elixir (1.1.1), what are the commands to:
  1) start the server forever (as a daemon);
  2) stop the server without the need of rebooting the server?</p>