Dear all,
My Phoenix Web is in production now, I wonder still some question what the different between detached and daemon in production,
1. PORT=4000 MIX_ENV=prod elixir --erl "-detached" -S mix phx.server
2. _build/prod/rel/myweb/bin/myweb daemon
what should i choose to make my phoenix web would be support for CI CD via Github Action?
it’s solved I better choose _build/prod/rel/myweb/bin/myweb daemon instead of detached
Please elaborate why it is better so others finding this thread can read the reason too.
because I don’t know how to re attached or stoping when starting using detached, with daemon I can stop it,
Perhaps you have better elaborate ? please give me insight Sir