Advent of Code Elixir Starter template An Ueberauth Oauth 2 Walkthrough

How to generate a Pid-File for an Elixir app

Process IDs are very important in Unix. It’s standard for services to create a file called a “Pid-File” that has the ID of its currently running process so that other applications can discover the PID of the service and manage it. Management tools such as Systemd make heavy use of Pid-Files.

Neither plain mix applications nor Phoenix apps generate Pid-Files by default, but there’s a great drop-in solution in the form of a library called pid_file.

I made a quick tutorial and screencast that covers setting it up.

https://alchemist.camp/episodes/pidfile-elixir-phoenix

ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.