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
1 changed files with 1 additions and 0 deletions

View File

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