I’m deploying an elixir OTP release on a Redhat 6.6 server. What is the best practice to have the elixir app restart when the server reboots?
Thank,
Robert
I’m deploying an elixir OTP release on a Redhat 6.6 server. What is the best practice to have the elixir app restart when the server reboots?
Thank,
Robert
Running Elixir on a dedicated/virtual Linux server, you probably want to set up your Release as a systemd service unit.
Take a look at the relevant guide in the Distillery documentation:
I do this on RedHat 7: