Add systemd example service to docs (#1512)

Signed-off-by: Pieter Hollander <git@pieterhollander.nl>
This commit is contained in:
Pieter 2020-10-12 11:06:56 +02:00 committed by GitHub
parent 6b579e6aba
commit 0804594a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,17 @@
[Unit]
Description=Dendrite (Matrix Homeserver)
After=syslog.target
After=network.target
After=postgresql.service
[Service]
RestartSec=2s
Type=simple
User=dendrite
Group=dendrite
WorkingDirectory=/opt/dendrite/
ExecStart=/opt/dendrite/bin/dendrite-monolith-server
Restart=always
[Install]
WantedBy=multi-user.target