src.nth.io/

summaryrefslogtreecommitdiff
path: root/dendrite/server/templates
diff options
context:
space:
mode:
Diffstat (limited to 'dendrite/server/templates')
-rw-r--r--dendrite/server/templates/dendrite.yaml.j24
-rw-r--r--dendrite/server/templates/[email protected]3
2 files changed, 3 insertions, 4 deletions
diff --git a/dendrite/server/templates/dendrite.yaml.j2 b/dendrite/server/templates/dendrite.yaml.j2
index ab6c49b..3a24267 100644
--- a/dendrite/server/templates/dendrite.yaml.j2
+++ b/dendrite/server/templates/dendrite.yaml.j2
@@ -273,8 +273,8 @@ tracing:
# the disk. Supported log levels are "debug", "info", "warn", "error".
logging:
- type: std
- level: info
+ level: warn
- type: file
- level: info
+ level: warn
params:
path: ./logs
diff --git a/dendrite/server/templates/[email protected] b/dendrite/server/templates/[email protected]
index 722f6d8..30b3d72 100644
--- a/dendrite/server/templates/[email protected]
+++ b/dendrite/server/templates/[email protected]
@@ -4,11 +4,10 @@ After=syslog.target network.target postgresql.service
[Service]
WorkingDirectory={{dendrite_dir}}/%i/
-ExecStart=/usr/local/bin/dendrite-monolith-server --http-bind-address ":{{dendrite_port}}"
+ExecStart=/usr/local/bin/dendrite-monolith-server -config "{{dendrite_dir}}/%i/dendrite.yaml" -http-bind-address ":{{dendrite_port}}"
Restart=always
User={{dendrite_user}}
LimitNOFILE=65535
-LimitNPROC=65535
[Install]
WantedBy=multi-user.target