Add MIX_ENV=prod

This commit is contained in:
shibayashi 2018-11-12 23:01:06 +01:00
parent b982ced92c
commit 124a9bb7a5
No known key found for this signature in database
GPG key ID: C10662A33EB28508

View file

@ -6,6 +6,7 @@ After=network.target postgresql.service
User=pleroma User=pleroma
WorkingDirectory=/home/pleroma/pleroma WorkingDirectory=/home/pleroma/pleroma
Environment="HOME=/home/pleroma" Environment="HOME=/home/pleroma"
Environment="MIX_ENV=prod"
ExecStart=/usr/local/bin/mix phx.server ExecStart=/usr/local/bin/mix phx.server
ExecReload=/bin/kill $MAINPID ExecReload=/bin/kill $MAINPID
KillMode=process KillMode=process