src.nth.io/

summaryrefslogtreecommitdiff
path: root/dendrite/server/templates
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2022-08-08 21:16:41 -0500
committerLuke Hoersten <[email protected]>2022-08-08 21:16:41 -0500
commit0e3b4932c557a0e139c697a90acd9dd103740ae8 (patch)
treeb0c67343e9a9d3b3e6c209db8290c9c1f7cdcf3c /dendrite/server/templates
parente3f36c5eca4eb97cc4e1d936a9e3cd4226756b1a (diff)
Added Dendrite symlink to port workaround.
Diffstat (limited to 'dendrite/server/templates')
-rw-r--r--dendrite/server/templates/[email protected]4
1 files changed, 2 insertions, 2 deletions
diff --git a/dendrite/server/templates/[email protected] b/dendrite/server/templates/[email protected]
index 30b3d72..3a8b09e 100644
--- a/dendrite/server/templates/[email protected]
+++ b/dendrite/server/templates/[email protected]
@@ -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