author | Luke Hoersten <luke@hoersten.org> |
Tue, 01 Jan 2019 21:57:11 -0600 | |
changeset 67 | bd34ae082697 |
parent 64 | 2b0d305daa43 |
child 69 | be979818d483 |
permissions | -rw-r--r-- |
67 | 1 |
# {{ansible_managed}} |
2 |
||
60 | 3 |
[Unit] |
4 |
Description=Pleroma social network |
|
5 |
After=network.target postgresql.service |
|
6 |
||
7 |
[Service] |
|
8 |
User={{pleroma_user}} |
|
9 |
WorkingDirectory=/home/{{pleroma_user}}/pleroma |
|
10 |
Environment="HOME=/home/{{pleroma_user}}" |
|
64 | 11 |
Environment="MIX_ENV=prod" |
60 | 12 |
ExecStart=/usr/local/bin/mix phx.server |
13 |
ExecReload=/bin/kill $MAINPID |
|
14 |
KillMode=process |
|
15 |
Restart=on-failure |
|
16 |
||
17 |
[Install] |
|
18 |
WantedBy=multi-user.target |