src.nth.io/

summaryrefslogtreecommitdiff
path: root/roles/pleroma/templates/pleroma.service.j2
blob: ca6e6627b6f3134f469d5af428d095e417310aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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