dendrite/server/templates/[email protected]
author Luke Hoersten <luke@hoersten.org>
Mon, 07 Oct 2024 15:25:37 -0500
changeset 238 bdbc88cb5078
parent 215 dd52907adff9
permissions -rw-r--r--
Lots of updates and fixes for Ubuntu 24.04 Noble.

[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