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
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|