summaryrefslogtreecommitdiffstats
path: root/net-im/dendrite/files/dendrite-monolith.service
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2024-03-12 20:48:29 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2024-03-12 20:48:29 +0100
commita4c48186950ff6fc2fc90800d14eede98e8789a7 (patch)
tree9f0c10e4dfa0190040393c1ea5c6b05f7f0bcfc6 /net-im/dendrite/files/dendrite-monolith.service
parentsearc-0.0.27 (diff)
downloadg-a4c48186950ff6fc2fc90800d14eede98e8789a7.tar
g-a4c48186950ff6fc2fc90800d14eede98e8789a7.tar.gz
g-a4c48186950ff6fc2fc90800d14eede98e8789a7.tar.bz2
g-a4c48186950ff6fc2fc90800d14eede98e8789a7.tar.lz
g-a4c48186950ff6fc2fc90800d14eede98e8789a7.tar.xz
g-a4c48186950ff6fc2fc90800d14eede98e8789a7.tar.zst
g-a4c48186950ff6fc2fc90800d14eede98e8789a7.zip
Diffstat (limited to 'net-im/dendrite/files/dendrite-monolith.service')
-rw-r--r--net-im/dendrite/files/dendrite-monolith.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-im/dendrite/files/dendrite-monolith.service b/net-im/dendrite/files/dendrite-monolith.service
new file mode 100644
index 0000000..55c1d6f
--- /dev/null
+++ b/net-im/dendrite/files/dendrite-monolith.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Dendrite (Matrix Homeserver)
+After=syslog.target
+After=network.target
+
+[Service]
+RestartSec=2s
+Type=simple
+User=dendrite
+Group=dendrite
+WorkingDirectory=/var/lib/dendrite/
+ExecStart=/usr/bin/dendrite-monolith-server
+Restart=always
+LimitNOFILE=65535
+
+[Install]
+WantedBy=multi-user.target