diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-03-12 20:48:29 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-03-12 20:48:29 +0100 |
commit | a4c48186950ff6fc2fc90800d14eede98e8789a7 (patch) | |
tree | 9f0c10e4dfa0190040393c1ea5c6b05f7f0bcfc6 /net-im/dendrite/files/dendrite.service | |
parent | searc-0.0.27 (diff) | |
download | g-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.service')
-rw-r--r-- | net-im/dendrite/files/dendrite.service | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-im/dendrite/files/dendrite.service b/net-im/dendrite/files/dendrite.service new file mode 100644 index 0000000..0b7a1da --- /dev/null +++ b/net-im/dendrite/files/dendrite.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 +Restart=always +LimitNOFILE=65535 + +[Install] +WantedBy=multi-user.target |