author | Luke Hoersten <luke@hoersten.org> |
Mon, 08 Aug 2022 16:12:44 -0500 | |
changeset 182 | b4ce6f1f15b7 |
parent 181 | 2b30d081dd9b |
child 183 | b31ef0e10cad |
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/ |
181 | 7 |
ExecStart=/usr/local/bin/dendrite-monolith-server -config "{{dendrite_dir}}/%i/dendrite.yaml" -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}} |
180 | 10 |
LimitNOFILE=65535 |
1
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
11 |
|
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
12 |
[Install] |
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
13 |
WantedBy=multi-user.target |