--- a/dendrite/server/templates/[email protected] Mon Aug 08 16:12:44 2022 -0500
+++ b/dendrite/server/templates/[email protected] Mon Aug 08 21:16:41 2022 -0500
@@ -1,10 +1,10 @@
[Unit]
-Description=Dendrite %I Instance
+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 ":{{dendrite_port}}"
+ExecStart=/usr/local/bin/dendrite-monolith-server -config "{{dendrite_dir}}/%i/dendrite.yaml" -http-bind-address ":%i"
Restart=always
User={{dendrite_user}}
LimitNOFILE=65535