[init] set MIX_ENV=prod in unit file

This commit is contained in:
Paul Schoenfelder 2018-05-03 12:23:32 -04:00
parent a2f7635e79
commit a257498361
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ SyslogIdentifier=explorer
User=ec2-user
WorkingDirectory=/opt/app
ExecStart=/opt/elixir/bin/mix phx.server
Environment="MIX_ENV=prod"
EnvironmentFile=/etc/environment
KillMode=process
TimeoutStopSec=60