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