Hi all. First time creating a thread here, please be gentle!
I have an Mix release executable that works fine when started normally, but appears not to run when launched as a daemon. Is this a problem that others have encountered?
When I start it explicitly with
start it initialises with no errors, and works as expected. But when started with
daemon_iex it starts with no output and performs none of the actions I expect it to. In fact, the command acts like a no-op on the shell.
Further more, no output of any kind is redirected to the
/tmp folders, which is making this issue extremely hard to debug.
Interestingly, the issue I believe I’ve encountered sounds very similar to the one found for Distillery on Github here:
So I suspect there could well be a shared underlying cause.
Any ideas, please?
Edit - Further details, I’d encountered this issue running Elixir 1.9.1 (compiled with Erlang/OTP 20), on Ubuntu 16.0.4 via VirtualBox on Windows. I know VM setups can occasionally mess with common OS settings, and security features, so if that might be a potential issue, advice will be welcome.