roles/pleroma/templates/pleroma.service.j2
changeset 60 48a3a65119d5
child 64 2b0d305daa43
equal deleted inserted replaced
-1:000000000000 60:48a3a65119d5
       
     1 [Unit]
       
     2 Description=Pleroma social network
       
     3 After=network.target postgresql.service
       
     4 
       
     5 [Service]
       
     6 User={{pleroma_user}}
       
     7 WorkingDirectory=/home/{{pleroma_user}}/pleroma
       
     8 Environment="HOME=/home/{{pleroma_user}}"
       
     9 ExecStart=/usr/local/bin/mix phx.server
       
    10 ExecReload=/bin/kill $MAINPID
       
    11 KillMode=process
       
    12 Restart=on-failure
       
    13 
       
    14 [Install]
       
    15 WantedBy=multi-user.target