Sample rc.d script for Elixir apps

From: Mike Jakubik <mike.jakubik_at_swiftsmsgateway.com>
Date: Sun, 12 Sep 2021 16:26:34 UTC
Hello,



I am looking for a simple rc.d script that i could use to start our Elixir apps on boot up, something that root will run as defined user and basically just run elixir --erl "-detached" -S mix phx.server and track PID.



Thank You.


Mike Jakubik

https://www.swiftsmsgateway.com/



Disclaimer: This e-mail and any attachments are intended only for the use of the addressee(s) and may contain information that is privileged or confidential. If you are not the intended recipient, or responsible for delivering the information to the intended recipient, you are hereby notified that any dissemination, distribution, printing or copying of this e-mail and any attachments is strictly prohibited. If this e-mail and any attachments were received in error, please notify the sender by reply e-mail and delete the original message.