2020-10-12 10:06:56 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Dendrite (Matrix Homeserver)
|
|
|
|
After=syslog.target
|
|
|
|
After=network.target
|
|
|
|
After=postgresql.service
|
|
|
|
|
|
|
|
[Service]
|
2021-01-14 10:31:45 +00:00
|
|
|
Environment=GODEBUG=madvdontneed=1
|
2020-10-12 10:06:56 +01:00
|
|
|
RestartSec=2s
|
|
|
|
Type=simple
|
|
|
|
User=dendrite
|
|
|
|
Group=dendrite
|
|
|
|
WorkingDirectory=/opt/dendrite/
|
|
|
|
ExecStart=/opt/dendrite/bin/dendrite-monolith-server
|
|
|
|
Restart=always
|
2022-02-25 17:35:10 +00:00
|
|
|
LimitNOFILE=65535
|
2020-10-12 10:06:56 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|