diff --git a/docs/systemd/monolith-example.service b/docs/systemd/monolith-example.service new file mode 100644 index 000000000..7dd7755db --- /dev/null +++ b/docs/systemd/monolith-example.service @@ -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