forked from AkkomaGang/akkoma
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:
commit
c3f562a611
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue