dendrite/server/templates/[email protected]
author Luke Hoersten <luke@hoersten.org>
Wed, 25 May 2022 18:56:05 -0500
changeset 180 f2f99b9b16ee
parent 163 40b78af86337
child 181 2b30d081dd9b
permissions -rw-r--r--
Updated dendrite config.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
fd351734f007 Prometheus and WriteFreely roles are work in progress.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
[Unit]
163
40b78af86337 Tons of updates.
Luke Hoersten <luke@hoersten.org>
parents: 159
diff changeset
     2
Description=Dendrite %I Instance
40b78af86337 Tons of updates.
Luke Hoersten <luke@hoersten.org>
parents: 159
diff changeset
     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
40b78af86337 Tons of updates.
Luke Hoersten <luke@hoersten.org>
parents: 159
diff changeset
     6
WorkingDirectory={{dendrite_dir}}/%i/
40b78af86337 Tons of updates.
Luke Hoersten <luke@hoersten.org>
parents: 159
diff changeset
     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
40b78af86337 Tons of updates.
Luke Hoersten <luke@hoersten.org>
parents: 159
diff changeset
     9
User={{dendrite_user}}
180
f2f99b9b16ee Updated dendrite config.
Luke Hoersten <luke@hoersten.org>
parents: 163
diff changeset
    10
LimitNOFILE=65535
f2f99b9b16ee Updated dendrite config.
Luke Hoersten <luke@hoersten.org>
parents: 163
diff changeset
    11
LimitNPROC=65535
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