src.nth.io/

summaryrefslogtreecommitdiff
path: root/dendrite/server/templates/[email protected]
diff options
context:
space:
mode:
Diffstat (limited to 'dendrite/server/templates/[email protected]')
-rw-r--r--dendrite/server/templates/[email protected]12
1 files changed, 12 insertions, 0 deletions
diff --git a/dendrite/server/templates/[email protected] b/dendrite/server/templates/[email protected]
new file mode 100644
index 0000000..61b2ddb
--- /dev/null
+++ b/dendrite/server/templates/[email protected]
@@ -0,0 +1,12 @@
+[Unit]
+Description=Dendrite %I Instance
+After=syslog.target network.target postgresql.service
+
+[Service]
+WorkingDirectory={{dendrite_dir}}/%i/
+ExecStart=/usr/local/bin/dendrite-monolith-server --http-bind-address ":{{dendrite_port}}"
+Restart=always
+User={{dendrite_user}}
+
+[Install]
+WantedBy=multi-user.target