dendrite/server/templates/[email protected]
changeset 163 40b78af86337
parent 159 05d0cf32e077
child 180 f2f99b9b16ee
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dendrite/server/templates/[email protected]	Sun Jul 18 17:43:46 2021 -0500
@@ -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