roles/pleroma/templates/pleroma.service.j2
changeset 64 2b0d305daa43
parent 60 48a3a65119d5
child 67 bd34ae082697
equal deleted inserted replaced
63:56531bbfd074 64:2b0d305daa43
     4 
     4 
     5 [Service]
     5 [Service]
     6 User={{pleroma_user}}
     6 User={{pleroma_user}}
     7 WorkingDirectory=/home/{{pleroma_user}}/pleroma
     7 WorkingDirectory=/home/{{pleroma_user}}/pleroma
     8 Environment="HOME=/home/{{pleroma_user}}"
     8 Environment="HOME=/home/{{pleroma_user}}"
       
     9 Environment="MIX_ENV=prod"
     9 ExecStart=/usr/local/bin/mix phx.server
    10 ExecStart=/usr/local/bin/mix phx.server
    10 ExecReload=/bin/kill $MAINPID
    11 ExecReload=/bin/kill $MAINPID
    11 KillMode=process
    12 KillMode=process
    12 Restart=on-failure
    13 Restart=on-failure
    13 
    14