roles/pleroma/templates/pleroma.service.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 20 Aug 2018 10:22:45 -0500
changeset 61 2dd82d9e2103
parent 60 48a3a65119d5
child 64 2b0d305daa43
permissions -rw-r--r--
Added nginx reverse proxy to pleroma.

[Unit]
Description=Pleroma social network
After=network.target postgresql.service

[Service]
User={{pleroma_user}}
WorkingDirectory=/home/{{pleroma_user}}/pleroma
Environment="HOME=/home/{{pleroma_user}}"
ExecStart=/usr/local/bin/mix phx.server
ExecReload=/bin/kill $MAINPID
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target