author | Luke Hoersten <luke@hoersten.org> |
Sat, 20 Jul 2024 13:51:46 -0500 | |
changeset 234 | f46b0f7e758c |
parent 215 | dd52907adff9 |
permissions | -rw-r--r-- |
1
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
1 |
[Unit] |
183
b31ef0e10cad
Added Dendrite symlink to port workaround.
Luke Hoersten <luke@hoersten.org>
parents:
181
diff
changeset
|
2 |
Description=Dendrite instance on port %i |
163 | 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/ |
211 | 7 |
ExecStart=/usr/local/bin/dendrite -config "{{dendrite_dir}}/%i/dendrite.yaml" -http-bind-address ":%i" |
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 |
215
dd52907adff9
Split dendrite build out of install role.
Luke Hoersten <luke@hoersten.org>
parents:
211
diff
changeset
|
11 |
Environment="GOMEMLIMIT=2750MiB" |
1
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
12 |
|
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
13 |
[Install] |
fd351734f007
Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
14 |
WantedBy=multi-user.target |