[init] set MIX_ENV=prod in unit file
This commit is contained in:
parent
a2f7635e79
commit
a257498361
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue