dendrite/server/templates/[email protected]
author Luke Hoersten <luke@hoersten.org>
Fri, 21 Jul 2023 15:14:24 -0500
changeset 215 dd52907adff9
parent 211 9e2b2cc6ccf1
permissions -rw-r--r--
Split dendrite build out of install role.

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

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

[Install]
WantedBy=multi-user.target