Merge branch 'add-MIX_ENV-to-systemd-example' into 'develop'

Add MIX_ENV=prod to systemd example file

See merge request pleroma/pleroma!445
This commit is contained in:
lambda 2018-11-13 12:24:29 +00:00
commit c3f562a611

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