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-- |
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}}" |
|
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 |