author | Luke Hoersten <luke@hoersten.org> |
Fri, 28 Dec 2018 00:27:10 -0500 | |
changeset 64 | 2b0d305daa43 |
parent 60 | 48a3a65119d5 |
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 |