debian-packages/packages/normal/dendrite/materials/dendrite.service

19 lines
374 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=matrix home server
After=network.target
After=postgresql.service
After=nats-server.service
[Service]
Type=simple
User=dendrite
Group=dendrite
ExecStart=/usr/lib/dendrite/dendrite -config /etc/dendrite/dendrite.yaml -http-bind-address 127.0.0.1:8008
Restart=on-failure
RestartSec=5s
LimitNOFILE=65535
MemoryMax=3072M
[Install]
WantedBy=multi-user.target