[Unit]
Description=Dendrite (Matrix Homeserver)
After=network.target
After=postgresql.service
Wants=postgresql.service

[Service]
User=dendrite
Group=dendrite
ExecStart=/usr/bin/dendrite --config=/etc/dendrite/config.yaml
WorkingDirectory=/var/lib/dendrite/

[Install]
WantedBy=multi-user.target