author | Luke Hoersten <luke@hoersten.org> |
Sun, 30 Dec 2018 11:13:20 -0600 | |
changeset 65 | 4538ad030906 |
parent 64 | 2b0d305daa43 |
child 67 | bd34ae082697 |
permissions | -rw-r--r-- |
60 | 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}}" |
|
64 | 9 |
Environment="MIX_ENV=prod" |
60 | 10 |
ExecStart=/usr/local/bin/mix phx.server |
11 |
ExecReload=/bin/kill $MAINPID |
|
12 |
KillMode=process |
|
13 |
Restart=on-failure |
|
14 |
||
15 |
[Install] |
|
16 |
WantedBy=multi-user.target |