dendrite/server/templates/[email protected]
author Luke Hoersten <luke@hoersten.org>
Sun, 08 Jan 2023 16:51:18 -0600
changeset 205 2ea9460dc8d2
parent 183 b31ef0e10cad
child 211 9e2b2cc6ccf1
permissions -rw-r--r--
Enabled presence events in dendrite.

[Unit]
Description=Dendrite instance on port %i
After=syslog.target network.target postgresql.service

[Service]
WorkingDirectory={{dendrite_dir}}/%i/
ExecStart=/usr/local/bin/dendrite-monolith-server -config "{{dendrite_dir}}/%i/dendrite.yaml" -http-bind-address ":%i"
Restart=always
User={{dendrite_user}}
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target