dendrite/server/templates/[email protected]
author Luke Hoersten <luke@hoersten.org>
Mon, 08 Aug 2022 21:16:41 -0500
changeset 183 b31ef0e10cad
parent 181 2b30d081dd9b
child 211 9e2b2cc6ccf1
permissions -rw-r--r--
Added Dendrite symlink to port workaround.

[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