author | Luke Hoersten <luke@hoersten.org> |
Sun, 18 Jul 2021 17:43:46 -0500 | |
changeset 163 | 40b78af86337 |
parent 159 | writefreely/server/templates/[email protected]@05d0cf32e077 |
child 180 | f2f99b9b16ee |
permissions | -rw-r--r-- |
1
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
1 |
[Unit] |
163 | 2 |
Description=Dendrite %I Instance |
3 |
After=syslog.target network.target postgresql.service |
|
1
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
4 |
|
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
5 |
[Service] |
163 | 6 |
WorkingDirectory={{dendrite_dir}}/%i/ |
7 |
ExecStart=/usr/local/bin/dendrite-monolith-server --http-bind-address ":{{dendrite_port}}" |
|
1
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
8 |
Restart=always |
163 | 9 |
User={{dendrite_user}} |
1
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
10 |
|
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
11 |
[Install] |
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
12 |
WantedBy=multi-user.target |