Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Elixir Phoenix Systemd script
[Unit]
Description=
[Service]
PIDFile=/tmp/app.pid-0000
User=
Group=
WorkingDirectory=
Restart=on-failure
Environment=MIX_ENV=prod "PORT="
ExecStart=/usr/bin/mix phoenix.server
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.